From 82b0555e5ce061cd0c2f9b9536683ddcbe403ec7 Mon Sep 17 00:00:00 2001 From: rtm516 Date: Fri, 9 Aug 2024 13:41:53 +0100 Subject: [PATCH] Fix storing path --- .../org/geysermc/geyser/extension/GeyserExtensionLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/geysermc/geyser/extension/GeyserExtensionLoader.java b/core/src/main/java/org/geysermc/geyser/extension/GeyserExtensionLoader.java index 2dabe8a4c..a648d2dda 100644 --- a/core/src/main/java/org/geysermc/geyser/extension/GeyserExtensionLoader.java +++ b/core/src/main/java/org/geysermc/geyser/extension/GeyserExtensionLoader.java @@ -188,7 +188,7 @@ public class GeyserExtensionLoader extends ExtensionLoader { GeyserExtensionDescription description = this.extensionDescription(path); // Store the file name against ID for later use - extensionFiles.put(description.id(), path.getFileName()); + extensionFiles.put(description.id(), path); } catch (Throwable e) { // no-op }