1
0

Added some missing block enums

Spruce, birch and jungle wood stairs now orient correctly

git-svn-id: http://mc-server.googlecode.com/svn/trunk@916 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
faketruth 2012-09-30 19:07:03 +00:00
parent ba2a9b6b2c
commit 673fdcd768
2 changed files with 15 additions and 1 deletions

View File

@ -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

View File

@ -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: