mirror of
https://github.com/DrPerkyLegit/LCEServerTest.git
synced 2026-05-24 12:34:32 +00:00
removed git history
This commit is contained in:
19
Minecraft.World/DropperTileEntity.cpp
Normal file
19
Minecraft.World/DropperTileEntity.cpp
Normal file
@@ -0,0 +1,19 @@
|
||||
#include "stdafx.h"
|
||||
|
||||
#include "DropperTileEntity.h"
|
||||
|
||||
wstring DropperTileEntity::getName()
|
||||
{
|
||||
return hasCustomName() ? name : app.GetString(IDS_CONTAINER_DROPPER);
|
||||
}
|
||||
|
||||
// 4J Added
|
||||
shared_ptr<TileEntity> DropperTileEntity::clone()
|
||||
{
|
||||
shared_ptr<DropperTileEntity> result = std::make_shared<DropperTileEntity>();
|
||||
TileEntity::clone(result);
|
||||
|
||||
result->name = name;
|
||||
|
||||
return result;
|
||||
}
|
||||
Reference in New Issue
Block a user