mirror of
https://github.com/YouHaveTrouble/NotJustNameplates.git
synced 2026-05-12 06:26:58 +00:00
respawn the entity if display content changes
This commit is contained in:
@@ -81,7 +81,9 @@ public class Nameplate {
|
||||
}
|
||||
|
||||
public void setContent(@NotNull DisplayContent content) {
|
||||
if (this.content == content) return;
|
||||
this.content = content;
|
||||
Bukkit.getScheduler().runTask(NotJustNameplates.getInstance(), this::remove);
|
||||
}
|
||||
|
||||
public void setAlignment(@NotNull TextDisplay.TextAlignment alignment) {
|
||||
|
||||
Reference in New Issue
Block a user