fixed exploit on skylands
This commit is contained in:
parent
ec8e1f0546
commit
fa0a9ac859
@ -1142,11 +1142,19 @@ public class Bridge extends TeamGame implements OreObsfucation
|
||||
if (event.getBucket() != Material.WATER_BUCKET)
|
||||
return;
|
||||
|
||||
if (!_bridgesDown || WorldWaterDamage > 0)
|
||||
if (WorldWaterDamage > 0)
|
||||
{
|
||||
UtilPlayer.message(
|
||||
event.getPlayer(),
|
||||
F.main("Game", "Cannot use " + F.elem("Water Bucket") + " on befores Bridges are down."));
|
||||
F.main("Game", "Cannot use " + F.elem("Water Bucket") + " on this map."));
|
||||
event.setCancelled(true);
|
||||
}
|
||||
|
||||
else if (!_bridgesDown)
|
||||
{
|
||||
UtilPlayer.message(
|
||||
event.getPlayer(),
|
||||
F.main("Game", "Cannot use " + F.elem("Water Bucket") + " befores Bridges drop."));
|
||||
event.setCancelled(true);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user