We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a00d218 commit 5837a3bCopy full SHA for 5837a3b
src/main/java/com/github/elic0de/thejpspit/TheJpsPit.java
@@ -219,6 +219,7 @@ public void onDisable() {
219
220
Bukkit.getOnlinePlayers().forEach(player -> {
221
final PitPlayer pitPlayer = PitPlayerManager.getPitPlayer(player);
222
+ if (pitPlayer == null) return;
223
game.leave(pitPlayer);
224
pitPlayer.getBoard().destoryScoreboard();
225
});
0 commit comments