Fixed double-half-slabs (line 68)
Signed-off-by: Aaron Brock <TheMineBench@gmail.com>
This commit is contained in:
parent
0d12a2c12d
commit
41e77b1ade
@ -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)))
|
||||
|
Loading…
Reference in New Issue
Block a user