From 7f87d6c3d6a116742f25f1846d747a33afdc63f0 Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Fri, 16 Aug 2013 11:23:24 +0100 Subject: Feature and bugfixes [SEE DESC] Added TNT and Hopper minecarts Fixed piston code failing without an extension set Repeaters are now broken Fixed not being able to place a minecart on an activator rail Added much needed comments on piston code Fixed minor formatting issue --- source/Defines.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source/Defines.h') 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; -- cgit v1.2.3