diff options
author | luksor111@gmail.com <luksor111@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-11-26 11:03:34 +0100 |
---|---|---|
committer | luksor111@gmail.com <luksor111@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-11-26 11:03:34 +0100 |
commit | eb7131bd126b06c348313de6ab07d5d59f7c79c0 (patch) | |
tree | 87516638a71e7105b318fd17c15b2be143f622c0 /source/Defines.h | |
parent | CryptoPP patches from xcb567 (diff) | |
download | cuberite-eb7131bd126b06c348313de6ab07d5d59f7c79c0.tar cuberite-eb7131bd126b06c348313de6ab07d5d59f7c79c0.tar.gz cuberite-eb7131bd126b06c348313de6ab07d5d59f7c79c0.tar.bz2 cuberite-eb7131bd126b06c348313de6ab07d5d59f7c79c0.tar.lz cuberite-eb7131bd126b06c348313de6ab07d5d59f7c79c0.tar.xz cuberite-eb7131bd126b06c348313de6ab07d5d59f7c79c0.tar.zst cuberite-eb7131bd126b06c348313de6ab07d5d59f7c79c0.zip |
Diffstat (limited to '')
-rw-r--r-- | source/Defines.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/Defines.h b/source/Defines.h index 1844d7872..18d495a53 100644 --- a/source/Defines.h +++ b/source/Defines.h @@ -47,7 +47,7 @@ enum inline bool IsValidBlock( int a_BlockType ) //tolua_export { //tolua_export if( a_BlockType > -1 && - a_BlockType <= 126 && //items to 109 are valid for Beta1.8.1.. 1.2.5 is up to 126 + a_BlockType <= 145 && //items to 109 are valid for Beta1.8.1.. 1.2.5 is up to 126 //a_BlockType != 29 && allow pistons //a_BlockType != 33 && allow pistons a_BlockType != 34 && @@ -66,7 +66,7 @@ inline bool IsValidBlock( int a_BlockType ) //tolua_export // Changed to fit the style ;) inline bool IsValidItem( int a_ItemID ) //tolua_export { //tolua_export - if( (a_ItemID >= 256 && a_ItemID <= 388) + if( (a_ItemID >= 256 && a_ItemID <= 400) || (a_ItemID >= 2256 && a_ItemID <= 2267) ) { return true; |