Missing isLive check
This commit is contained in:
parent
1c620048ca
commit
401276d705
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user