summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-30 21:07:03 +0200
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-30 21:07:03 +0200
commit673fdcd768dfe3d8a66a3b9fded420c7bfa7ee73 (patch)
treeec844ab5987d9a660c6cab4d19927011657cb4d0 /source
parentAdded falling block entities. Sand and gravel now properly fall down (diff)
downloadcuberite-673fdcd768dfe3d8a66a3b9fded420c7bfa7ee73.tar
cuberite-673fdcd768dfe3d8a66a3b9fded420c7bfa7ee73.tar.gz
cuberite-673fdcd768dfe3d8a66a3b9fded420c7bfa7ee73.tar.bz2
cuberite-673fdcd768dfe3d8a66a3b9fded420c7bfa7ee73.tar.lz
cuberite-673fdcd768dfe3d8a66a3b9fded420c7bfa7ee73.tar.xz
cuberite-673fdcd768dfe3d8a66a3b9fded420c7bfa7ee73.tar.zst
cuberite-673fdcd768dfe3d8a66a3b9fded420c7bfa7ee73.zip
Diffstat (limited to '')
-rw-r--r--source/BlockID.h13
-rw-r--r--source/Blocks/BlockHandler.cpp3
2 files changed, 15 insertions, 1 deletions
diff --git a/source/BlockID.h b/source/BlockID.h
index 177f2f389..31ae224e3 100644
--- a/source/BlockID.h
+++ b/source/BlockID.h
@@ -149,7 +149,18 @@ enum ENUM_BLOCK_ID
E_BLOCK_ENDER_CHEST = 130,
E_BLOCK_TRIPWIRE_HOOK = 131,
E_BLOCK_TRIPWIRE = 132,
- E_BLOCK_EMERALD_BLOCK = 133
+ E_BLOCK_EMERALD_BLOCK = 133,
+ E_BLOCK_SPRUCE_WOOD_STAIRS = 134,
+ E_BLOCK_BIRCH_WOOD_STAIRS = 135,
+ E_BLOCK_JUNGLE_WOOD_STAIRS = 136,
+ E_BLOCK_COMMAND_BLOCK = 137,
+ E_BLOCK_BEACON = 138,
+ E_BLOCK_COBBLESTONE_WALL = 139,
+ E_BLOCK_FLOWER_POT = 140,
+ E_BLOCK_CARROTS = 141,
+ E_BLOCK_POTATOES = 142,
+ E_BLOCK_WOODEN_BUTTON = 143,
+ E_BLOCK_HEAD = 144,
};
//tolua_end
diff --git a/source/Blocks/BlockHandler.cpp b/source/Blocks/BlockHandler.cpp
index e6b384a23..419b20de0 100644
--- a/source/Blocks/BlockHandler.cpp
+++ b/source/Blocks/BlockHandler.cpp
@@ -146,6 +146,9 @@ cBlockHandler *cBlockHandler::CreateBlockHandler(BLOCKTYPE a_BlockID)
case E_BLOCK_STONE_BRICK_STAIRS:
case E_BLOCK_NETHER_BRICK_STAIRS:
case E_BLOCK_WOODEN_STAIRS:
+ case E_BLOCK_SPRUCE_WOOD_STAIRS:
+ case E_BLOCK_BIRCH_WOOD_STAIRS:
+ case E_BLOCK_JUNGLE_WOOD_STAIRS:
return new cBlockStairsHandler(a_BlockID);
case E_BLOCK_SIGN_POST:
case E_BLOCK_WALLSIGN: