diff options
author | admin@omencraft.com <admin@omencraft.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2011-11-05 19:28:19 +0100 |
---|---|---|
committer | admin@omencraft.com <admin@omencraft.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2011-11-05 19:28:19 +0100 |
commit | f32b5aafe824ab1d865ea0df8698ce45ccd1ca8b (patch) | |
tree | ba5f6257f478321730c3b7fd4097844920f5e853 /source/Defines.h | |
parent | dang finicky OS installs. >.> Bug fixes to make sure this compiles is more than two OS's. (diff) | |
download | cuberite-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 'source/Defines.h')
-rw-r--r-- | source/Defines.h | 6 |
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 )
{
|