Missing isLive check

This commit is contained in:
Sam 2017-03-22 23:04:50 +00:00
parent 1c620048ca
commit 401276d705

View File

@ -1657,7 +1657,7 @@ public class Bridge extends TeamGame implements OreObsfucation
@EventHandler(priority=EventPriority.LOWEST) @EventHandler(priority=EventPriority.LOWEST)
public void revivePlayer(CustomDamageEvent event) public void revivePlayer(CustomDamageEvent event)
{ {
if (_bridgesDown || !(event.GetDamageeEntity() instanceof Player)) if (!IsLive() || _bridgesDown || !(event.GetDamageeEntity() instanceof Player))
{ {
return; return;
} }