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
1 changed files with 7 additions and 4 deletions

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,7 +655,10 @@ 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;