summaryrefslogtreecommitdiffstats
path: root/source/Defines.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-08-16 12:23:24 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-08-16 12:23:24 +0200
commit7f87d6c3d6a116742f25f1846d747a33afdc63f0 (patch)
treefdc0a24c2b6145c16a78612589cdb48533ac7e6c /source/Defines.h
parentGeneration and simulation defaults (diff)
downloadcuberite-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.h4
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;