Fixed NPE in KillsWhileEvolvingTracker for game Evolution
This commit is contained in:
parent
9c1e574f6a
commit
d10dc3d7be
@ -25,6 +25,8 @@ public class KillsWhileEvolvingTracker extends StatTracker<Evolution>
|
||||
if (!getGame().IsLive())
|
||||
return;
|
||||
|
||||
if(event.GetLog().GetKiller() == null) return;
|
||||
|
||||
Player damagee = UtilPlayer.searchExact(event.GetLog().GetPlayer().GetName());
|
||||
Player damager = UtilPlayer.searchExact(event.GetLog().GetKiller().GetName());
|
||||
if (damagee == null || damager == null)
|
||||
|
Loading…
Reference in New Issue
Block a user