disabled tnt water damage before bridges drop
This commit is contained in:
parent
58d6cf199b
commit
d0a8a86698
@ -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 };
|
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
|
//Bridge Timer
|
||||||
private int _bridgeTime = 600000;
|
private int _bridgeTime = 6000;
|
||||||
private boolean _bridgesDown = false;
|
private boolean _bridgesDown = false;
|
||||||
|
|
||||||
//Wood Bridge
|
//Wood Bridge
|
||||||
@ -218,7 +218,7 @@ public class Bridge extends TeamGame implements OreObsfucation
|
|||||||
|
|
||||||
if (!_usedLife.contains(player.getName()))
|
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") + "."));
|
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;
|
return;
|
||||||
|
|
||||||
if (!_bridgesDown)
|
if (!_bridgesDown)
|
||||||
|
{
|
||||||
|
Manager.GetExplosion().SetLiquidDamage(true);
|
||||||
this.Announce(C.cRed + C.Bold + "ALERT: " + ChatColor.RESET + C.Bold + "THE BRIDGES ARE SPAWNING!");
|
this.Announce(C.cRed + C.Bold + "ALERT: " + ChatColor.RESET + C.Bold + "THE BRIDGES ARE SPAWNING!");
|
||||||
|
}
|
||||||
_bridgesDown = true;
|
|
||||||
|
|
||||||
|
_bridgesDown = true;
|
||||||
|
|
||||||
for (Kit kit : this.GetKits())
|
for (Kit kit : this.GetKits())
|
||||||
{
|
{
|
||||||
if (kit instanceof KitDestructor)
|
if (kit instanceof KitDestructor)
|
||||||
|
Loading…
Reference in New Issue
Block a user