summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-07-11 13:43:24 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-07-11 13:43:24 +0200
commit6a33fa84ae03ada5ddeb5861094a4030e612f827 (patch)
treebfc26735ff141460c8de6d2d54a57bdcca6c73ac /src/BlockEntities
parentImproved LinkedPowering speed (diff)
downloadcuberite-6a33fa84ae03ada5ddeb5861094a4030e612f827.tar
cuberite-6a33fa84ae03ada5ddeb5861094a4030e612f827.tar.gz
cuberite-6a33fa84ae03ada5ddeb5861094a4030e612f827.tar.bz2
cuberite-6a33fa84ae03ada5ddeb5861094a4030e612f827.tar.lz
cuberite-6a33fa84ae03ada5ddeb5861094a4030e612f827.tar.xz
cuberite-6a33fa84ae03ada5ddeb5861094a4030e612f827.tar.zst
cuberite-6a33fa84ae03ada5ddeb5861094a4030e612f827.zip
Diffstat (limited to '')
-rw-r--r--src/BlockEntities/BlockEntity.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/BlockEntities/BlockEntity.cpp b/src/BlockEntities/BlockEntity.cpp
index 1deddb0e9..feef088a9 100644
--- a/src/BlockEntities/BlockEntity.cpp
+++ b/src/BlockEntities/BlockEntity.cpp
@@ -27,10 +27,10 @@ cBlockEntity * cBlockEntity::CreateByBlockType(BLOCKTYPE a_BlockType, NIBBLETYPE
{
switch (a_BlockType)
{
- case E_BLOCK_TRAPPED_CHEST:
- case E_BLOCK_CHEST: return new cChestEntity (a_BlockX, a_BlockY, a_BlockZ, a_World, a_BlockType);
- case E_BLOCK_LIT_FURNACE:
- case E_BLOCK_FURNACE: return new cFurnaceEntity (a_BlockX, a_BlockY, a_BlockZ, a_BlockType, a_BlockMeta, a_World);
+ case E_BLOCK_CHEST:
+ case E_BLOCK_TRAPPED_CHEST: return new cChestEntity (a_BlockX, a_BlockY, a_BlockZ, a_World, a_BlockType);
+ case E_BLOCK_FURNACE:
+ case E_BLOCK_LIT_FURNACE: return new cFurnaceEntity(a_BlockX, a_BlockY, a_BlockZ, a_BlockType, a_BlockMeta, a_World);
case E_BLOCK_BEACON: return new cBeaconEntity (a_BlockX, a_BlockY, a_BlockZ, a_World);
case E_BLOCK_COMMAND_BLOCK: return new cCommandBlockEntity(a_BlockX, a_BlockY, a_BlockZ, a_World);