diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-08-16 12:23:24 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-08-16 12:23:24 +0200 |
commit | 7f87d6c3d6a116742f25f1846d747a33afdc63f0 (patch) | |
tree | fdc0a24c2b6145c16a78612589cdb48533ac7e6c /source/Defines.h | |
parent | Generation and simulation defaults (diff) | |
download | cuberite-7f87d6c3d6a116742f25f1846d747a33afdc63f0.tar cuberite-7f87d6c3d6a116742f25f1846d747a33afdc63f0.tar.gz cuberite-7f87d6c3d6a116742f25f1846d747a33afdc63f0.tar.bz2 cuberite-7f87d6c3d6a116742f25f1846d747a33afdc63f0.tar.lz cuberite-7f87d6c3d6a116742f25f1846d747a33afdc63f0.tar.xz cuberite-7f87d6c3d6a116742f25f1846d747a33afdc63f0.tar.zst cuberite-7f87d6c3d6a116742f25f1846d747a33afdc63f0.zip |
Diffstat (limited to 'source/Defines.h')
-rw-r--r-- | source/Defines.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/Defines.h b/source/Defines.h index 94e618eb0..48a7cfb1e 100644 --- a/source/Defines.h +++ b/source/Defines.h @@ -189,9 +189,7 @@ inline bool IsValidBlock(int a_BlockType) { if ( (a_BlockType > -1) && - (a_BlockType <= E_BLOCK_MAX_TYPE_ID) && - (a_BlockType != 34) && // Piston extension - (a_BlockType != 36) // Piston moved block + (a_BlockType <= E_BLOCK_MAX_TYPE_ID) ) { return true; |