mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 15:23:37 +00:00
18 lines
453 B
C++
18 lines
453 B
C++
#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;
|
|
} |