From f1163828f814ee4c55df988d657d62285924f1fe Mon Sep 17 00:00:00 2001 From: onebeastchris Date: Thu, 4 Jul 2024 00:42:11 +0200 Subject: [PATCH] Proper warning about version/uuid changes --- .../geyser/registry/loader/ResourcePackLoader.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/org/geysermc/geyser/registry/loader/ResourcePackLoader.java b/core/src/main/java/org/geysermc/geyser/registry/loader/ResourcePackLoader.java index 641d39ff5..9662f6f0b 100644 --- a/core/src/main/java/org/geysermc/geyser/registry/loader/ResourcePackLoader.java +++ b/core/src/main/java/org/geysermc/geyser/registry/loader/ResourcePackLoader.java @@ -285,8 +285,12 @@ public class ResourcePackLoader implements RegistryLoader { - deleteFile(path); CACHED_FAILED_PACKS.invalidate(packId); + deleteFile(path); }, 5, TimeUnit.MINUTES); } catch (RejectedExecutionException exception) { // No scheduling here, probably because we're shutting down?