Reset hologram if now empty

This commit is contained in:
fullwall 2020-11-07 15:10:49 +08:00
parent ba00c91a30
commit 0c36ea04a7
1 changed files with 1 additions and 0 deletions

View File

@ -165,6 +165,7 @@ public class HologramTrait extends Trait {
if (text != null && !text.isEmpty()) {
hologramNPC.setName(Placeholders.replace(text, null, npc));
} else {
hologramNPC.setName("");
}
}
}