Skip to content

Commit 85b449a

Browse files
fancyholograms-v3: Instantly refresh the hologram when modified for command sender
1 parent 05484d4 commit 85b449a

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

  • plugins/fancyholograms/src/main/java/de/oliver/fancyholograms/commands

plugins/fancyholograms/src/main/java/de/oliver/fancyholograms/commands/HologramCMD.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,8 @@ public boolean execute(@NotNull CommandSender sender, @NotNull String label, @No
135135

136136
if (updated) {
137137
if (sender instanceof Player p) {
138-
plugin.getController().refreshHologram(hologram, p);
138+
plugin.getController().updateHologramData(hologram, p);
139139
}
140-
141-
//TODO: idk
142-
// hologram.queueUpdate();
143140
}
144141

145142
yield updated;

0 commit comments

Comments
 (0)