Fixed tnt bug (SG)

This commit is contained in:
fooify 2015-10-25 10:52:56 -07:00
parent bb806d6260
commit f0e4416644

View File

@ -1911,6 +1911,9 @@ public abstract class SurvivalGames extends Game
if (!UtilInv.IsItem(player.getItemInHand(), Material.TNT, (byte) 0)) if (!UtilInv.IsItem(player.getItemInHand(), Material.TNT, (byte) 0))
return; return;
if(!IsAlive(player))
return;
event.setCancelled(true); event.setCancelled(true);