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