diff --git a/main/src/main/java/me/blackvein/quests/listeners/PlayerListener.java b/main/src/main/java/me/blackvein/quests/listeners/PlayerListener.java index 9af603cf2..6dbfdee92 100644 --- a/main/src/main/java/me/blackvein/quests/listeners/PlayerListener.java +++ b/main/src/main/java/me/blackvein/quests/listeners/PlayerListener.java @@ -696,6 +696,9 @@ public class PlayerListener implements Listener { * @since 3.1.4 */ public void killPlayer(Entity damager, Entity target) { + if (damager == null) { + return; + } if (!plugin.canUseQuests(damager.getUniqueId())) { return; }