summaryrefslogtreecommitdiffstats
path: root/source/Defines.h
diff options
context:
space:
mode:
authoradmin@omencraft.com <admin@omencraft.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-11-05 19:28:19 +0100
committeradmin@omencraft.com <admin@omencraft.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-11-05 19:28:19 +0100
commitf32b5aafe824ab1d865ea0df8698ce45ccd1ca8b (patch)
treeba5f6257f478321730c3b7fd4097844920f5e853 /source/Defines.h
parentdang finicky OS installs. >.> Bug fixes to make sure this compiles is more than two OS's. (diff)
downloadcuberite-f32b5aafe824ab1d865ea0df8698ce45ccd1ca8b.tar
cuberite-f32b5aafe824ab1d865ea0df8698ce45ccd1ca8b.tar.gz
cuberite-f32b5aafe824ab1d865ea0df8698ce45ccd1ca8b.tar.bz2
cuberite-f32b5aafe824ab1d865ea0df8698ce45ccd1ca8b.tar.lz
cuberite-f32b5aafe824ab1d865ea0df8698ce45ccd1ca8b.tar.xz
cuberite-f32b5aafe824ab1d865ea0df8698ce45ccd1ca8b.tar.zst
cuberite-f32b5aafe824ab1d865ea0df8698ce45ccd1ca8b.zip
Diffstat (limited to '')
-rw-r--r--source/Defines.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/Defines.h b/source/Defines.h
index 1b176208c..e40da0420 100644
--- a/source/Defines.h
+++ b/source/Defines.h
@@ -18,9 +18,9 @@ extern bool g_BlockOneHitDig[];
inline bool IsValidBlock( int a_BlockID ) //tolua_export
{ //tolua_export
if( a_BlockID > -1 &&
- a_BlockID <= 96 &&
- a_BlockID != 29 &&
- a_BlockID != 33 &&
+ a_BlockID <= 121 && //items to 109 are valid for 1.8.1.. 1.9.5 is up to 121
+ //a_BlockID != 29 && allow pistons
+ //a_BlockID != 33 && allow pistons
a_BlockID != 34 &&
a_BlockID != 36 )
{