From 6c593e90ad96149a055fcc7e470accf834d68483 Mon Sep 17 00:00:00 2001 From: OliverSchlueter Date: Mon, 26 Aug 2024 20:09:31 +0200 Subject: [PATCH] Don't always override the holograms in file --- .../java/de/oliver/fancyholograms/HologramManagerImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/de/oliver/fancyholograms/HologramManagerImpl.java b/src/main/java/de/oliver/fancyholograms/HologramManagerImpl.java index 5a4c3a1..c6f9b3b 100644 --- a/src/main/java/de/oliver/fancyholograms/HologramManagerImpl.java +++ b/src/main/java/de/oliver/fancyholograms/HologramManagerImpl.java @@ -137,7 +137,7 @@ public void saveHolograms() { return; } - plugin.getHologramStorage().saveBatch(getPersistentHolograms(), true); + plugin.getHologramStorage().saveBatch(getPersistentHolograms(), false); } @Override @@ -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());