Fixes an issue that allowed staff spectators to damage the King in
Castle Siege
This commit is contained in:
Sam 2016-07-08 17:50:33 +01:00
parent 7940eeb0ee
commit c607654c51

View File

@ -444,6 +444,11 @@ public class CastleSiege extends TeamGame
{
if (!Recharge.Instance.use(damager, "Damage King", 400, false, false))
return;
if (!IsAlive(damager))
{
return;
}
_king.playEffect(EntityEffect.HURT);