We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50560c1 commit 887a611Copy full SHA for 887a611
src/main/java/com/github/elic0de/thejpspit/listener/CombatTagger.java
@@ -62,7 +62,10 @@ public void run() {
62
combatPlayers.get(uuid).remove();
63
combatPlayers.remove(uuid);
64
}
65
- PitPlayerManager.getPitPlayer(Bukkit.getPlayer(uuid)).setLastDamager(null);
+ if (Bukkit.getPlayer(uuid) != null) {
66
+ PitPlayerManager.getPitPlayer(Bukkit.getPlayer(uuid))
67
+ .setLastDamager(null);
68
+ }
69
70
}.runTaskLater(TheJpsPit.getInstance(), delay * 20L);
71
0 commit comments