diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-08-16 21:19:46 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-08-16 21:19:46 +0200 |
commit | 4face38fdc6872f7e1ad26c28baa52836a2e709f (patch) | |
tree | 9ee407dd1d3ab05c100888d91318950e8c5e968b /source/Defines.h | |
parent | Replaced E_ENTITY_TYPE_XXX with cMonster::mtXXX. (diff) | |
parent | Another compile fix (diff) | |
download | cuberite-4face38fdc6872f7e1ad26c28baa52836a2e709f.tar cuberite-4face38fdc6872f7e1ad26c28baa52836a2e709f.tar.gz cuberite-4face38fdc6872f7e1ad26c28baa52836a2e709f.tar.bz2 cuberite-4face38fdc6872f7e1ad26c28baa52836a2e709f.tar.lz cuberite-4face38fdc6872f7e1ad26c28baa52836a2e709f.tar.xz cuberite-4face38fdc6872f7e1ad26c28baa52836a2e709f.tar.zst cuberite-4face38fdc6872f7e1ad26c28baa52836a2e709f.zip |
Diffstat (limited to '')
-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; |