Skip to content

Commit

Permalink
Don't always override the holograms in file
Browse files Browse the repository at this point in the history
  • Loading branch information
OliverSchlueter committed Aug 26, 2024
1 parent 7c7593d commit 6c593e9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public void saveHolograms() {
return;
}

plugin.getHologramStorage().saveBatch(getPersistentHolograms(), true);
plugin.getHologramStorage().saveBatch(getPersistentHolograms(), false);
}

@Override
Expand Down Expand Up @@ -268,7 +268,7 @@ public void unloadHolograms(String world) {
.filter(hologram -> hologram.getData().getLocation().getWorld().getName().equals(world))
.toList();

FancyHolograms.get().getHologramStorage().saveBatch(h, true);
FancyHolograms.get().getHologramStorage().saveBatch(h, false);

for (final Hologram hologram : h) {
this.holograms.remove(hologram.getName());
Expand Down

0 comments on commit 6c593e9

Please sign in to comment.