Prevent super paintball spectators from reviving teammates. Fixes PC-103

This commit is contained in:
cnr 2016-04-22 19:48:03 -05:00
parent fe0cee65e8
commit c7970d1bd0

View File

@ -425,6 +425,8 @@ public class Paintball extends TeamGame
return; return;
Player thrower = (Player)event.getEntity().getShooter(); Player thrower = (Player)event.getEntity().getShooter();
if (!IsAlive(thrower))
return;
GameTeam throwerTeam = GetTeam(thrower); GameTeam throwerTeam = GetTeam(thrower);
if (throwerTeam == null) return; if (throwerTeam == null) return;