Prevent super paintball spectators from reviving teammates. Fixes PC-103
This commit is contained in:
parent
fe0cee65e8
commit
c7970d1bd0
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user