fix spleef lava issue

This commit is contained in:
fooify 2015-07-01 07:17:41 -07:00
parent b9b9c5f801
commit 6d42be4d13

View File

@ -182,7 +182,7 @@ public class Spleef extends SoloGame
public void BlockFade(Block block, Player player, boolean slowDamage)
{
if (block.getTypeId() == 7)
if (block.getType() == Material.BEDROCK || block.getType() == Material.LAVA || block.getType() == Material.STATIONARY_LAVA)
return;
//Prevent Super Hunger from Bow