Skip to content

Commit

Permalink
Try and fix NPE on quit
Browse files Browse the repository at this point in the history
  • Loading branch information
SlyOtters committed Sep 24, 2023
1 parent 2f2ee7f commit d117290
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,10 @@ public void run() {

if (EGlow.getInstance().getAdvancedGlowVisibilityAddon() != null)
EGlow.getInstance().getAdvancedGlowVisibilityAddon().uncachePlayer(eGlowPlayer.getUuid());
DataManager.removeEGlowPlayer(eGlowPlayer.getPlayer());
}
}.runTaskAsynchronously(EGlow.getInstance());

DataManager.removeEGlowPlayer(eGlowPlayer.getPlayer());
}

private static void sendNoGlowMessage(EGlowPlayer eGlowPlayer) {
Expand Down

0 comments on commit d117290

Please sign in to comment.