Skip to content

Commit

Permalink
Clear previousGlowingCOlor on despawn
Browse files Browse the repository at this point in the history
  • Loading branch information
fullwall committed Dec 20, 2022
1 parent 75b3ec1 commit 1a102e7
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -73,6 +73,7 @@ private Team getTeam() {

@Override
public void onDespawn() {
previosuGlowingColor = null;
if (npc.getEntity() == null)
return;
String name = npc.getEntity() instanceof Player ? npc.getEntity().getName() : npc.getUniqueId().toString();
Expand Down

0 comments on commit 1a102e7

Please sign in to comment.