BlockEntities: Support cloning self.
This commit is contained in:
@@ -12,10 +12,11 @@
|
||||
|
||||
|
||||
|
||||
cEnderChestEntity::cEnderChestEntity(int a_BlockX, int a_BlockY, int a_BlockZ, cWorld * a_World) :
|
||||
super(E_BLOCK_ENDER_CHEST, a_BlockX, a_BlockY, a_BlockZ, a_World),
|
||||
cEnderChestEntity::cEnderChestEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, int a_BlockX, int a_BlockY, int a_BlockZ, cWorld * a_World):
|
||||
Super(a_BlockType, a_BlockMeta, a_BlockX, a_BlockY, a_BlockZ, a_World),
|
||||
cBlockEntityWindowOwner(this)
|
||||
{
|
||||
ASSERT(a_BlockType == E_BLOCK_ENDER_CHEST);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user