TU19: merge Minecraft.World/Blocks
This commit is contained in:
1 parent
f25cd66f4d
commit
9b6046cb83
241 files changed
+8070
-4644
No files matched your search
@@ -0,0 +1,18 @@
|
||||
#include "../../Platform/stdafx.h"
|
||||
|
||||
#include "DropperTileEntity.h"
|
||||
|
||||
std::wstring DropperTileEntity::getName() {
|
||||
return hasCustomName() ? name : app.GetString(IDS_CONTAINER_DROPPER);
|
||||
}
|
||||
|
||||
// 4J Added
|
||||
std::shared_ptr<TileEntity> DropperTileEntity::clone() {
|
||||
std::shared_ptr<DropperTileEntity> result =
|
||||
std::shared_ptr<DropperTileEntity>(new DropperTileEntity());
|
||||
TileEntity::clone(result);
|
||||
|
||||
result->name = name;
|
||||
|
||||
return result;
|
||||
}
|
||||
Reference in new issue
Block a user