disabled tnt water damage before bridges drop

This commit is contained in:
Chiss 2014-11-01 09:18:25 +11:00
parent 58d6cf199b
commit d0a8a86698

View File

@ -80,7 +80,7 @@ public class Bridge extends TeamGame implements OreObsfucation
private static final Material[] PLAYER_DROP_DELAY_MATERIALS = new Material[] { Material.LOG, Material.LOG_2, Material.IRON_ORE, Material.DIAMOND_ORE, Material.COAL_ORE, Material.GOLD_ORE, Material.WORKBENCH, Material.FURNACE };
//Bridge Timer
private int _bridgeTime = 600000;
private int _bridgeTime = 6000;
private boolean _bridgesDown = false;
//Wood Bridge
@ -218,7 +218,7 @@ public class Bridge extends TeamGame implements OreObsfucation
if (!_usedLife.contains(player.getName()))
{
_usedLife.add(player.getName());
//_usedLife.add(player.getName());
UtilPlayer.message(player, F.main("Game", "You used your " + F.elem(C.cAqua + "Early Game Revive") + "."));
@ -655,10 +655,13 @@ public class Bridge extends TeamGame implements OreObsfucation
return;
if (!_bridgesDown)
{
Manager.GetExplosion().SetLiquidDamage(true);
this.Announce(C.cRed + C.Bold + "ALERT: " + ChatColor.RESET + C.Bold + "THE BRIDGES ARE SPAWNING!");
_bridgesDown = true;
}
_bridgesDown = true;
for (Kit kit : this.GetKits())
{
if (kit instanceof KitDestructor)