Reset hologram if now empty
This commit is contained in:
parent
ba00c91a30
commit
0c36ea04a7
|
@ -165,6 +165,7 @@ public class HologramTrait extends Trait {
|
|||
if (text != null && !text.isEmpty()) {
|
||||
hologramNPC.setName(Placeholders.replace(text, null, npc));
|
||||
} else {
|
||||
hologramNPC.setName("");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue