From d10dc3d7becaf3313c65a4c9067e860c53b09808 Mon Sep 17 00:00:00 2001 From: xGamingDudex Date: Tue, 16 Feb 2016 19:22:18 +0100 Subject: [PATCH] Fixed NPE in KillsWhileEvolvingTracker for game Evolution --- .../games/evolution/trackers/KillsWhileEvolvingTracker.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/evolution/trackers/KillsWhileEvolvingTracker.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/evolution/trackers/KillsWhileEvolvingTracker.java index 52fc68890..3daea3b17 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/evolution/trackers/KillsWhileEvolvingTracker.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/evolution/trackers/KillsWhileEvolvingTracker.java @@ -25,6 +25,8 @@ public class KillsWhileEvolvingTracker extends StatTracker 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)