Fixed double-half-slabs (line 68)

Signed-off-by: Aaron Brock <TheMineBench@gmail.com>
This commit is contained in:
Aaron Brock 2015-06-17 20:49:35 -04:00
parent 0d12a2c12d
commit 41e77b1ade

View File

@ -63,7 +63,9 @@ public abstract class FireGrenadeBase extends Grenade
final int round = game.getRound();
for (final Block block : blocks.keySet())
{
if (block.getType() != Material.AIR && !block.getType().name().toLowerCase().contains("step"))
//Edited by TheMineBench, to keep the two-half-slabs from burning
if (block.getType() != Material.AIR && !block.getType().name().toLowerCase().contains("step") || block.getType().name().toLowerCase().contains("double"))
continue;
if (!UtilBlock.solid(block.getRelative(BlockFace.DOWN)))