Fixed tnt bug (SG)
This commit is contained in:
parent
bb806d6260
commit
f0e4416644
|
@ -1911,6 +1911,9 @@ public abstract class SurvivalGames extends Game
|
|||
|
||||
if (!UtilInv.IsItem(player.getItemInHand(), Material.TNT, (byte) 0))
|
||||
return;
|
||||
|
||||
if(!IsAlive(player))
|
||||
return;
|
||||
|
||||
event.setCancelled(true);
|
||||
|
||||
|
|
Loading…
Reference in New Issue