From 2ed4eff18f215a1bf174ab138f6eac035ea6151a Mon Sep 17 00:00:00 2001 From: Camotoy <20743703+Camotoy@users.noreply.github.com> Date: Sat, 22 Nov 2025 20:00:40 -0500 Subject: [PATCH] Standalone: fix loading from arbitrary file paths Pre-Configurate had this same behavior: https://github.com/GeyserMC/Geyser/commit/765128ce42ecf3c8418c4134c6e4e014579e884a#diff-262f536cb22e92d0eab2b1fd455563d317e907a88761a3d6ef16ec91dada4aeaL193 Loading from alternate folders now works as expected. --- .../geyser/platform/standalone/GeyserStandaloneBootstrap.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap/standalone/src/main/java/org/geysermc/geyser/platform/standalone/GeyserStandaloneBootstrap.java b/bootstrap/standalone/src/main/java/org/geysermc/geyser/platform/standalone/GeyserStandaloneBootstrap.java index faf053df6..1efbbac80 100644 --- a/bootstrap/standalone/src/main/java/org/geysermc/geyser/platform/standalone/GeyserStandaloneBootstrap.java +++ b/bootstrap/standalone/src/main/java/org/geysermc/geyser/platform/standalone/GeyserStandaloneBootstrap.java @@ -197,7 +197,7 @@ public class GeyserStandaloneBootstrap implements GeyserBootstrap { @Override public T loadConfig(Class configClass) { return new ConfigLoader(this) - .configFile(new File(getConfigFolder().toFile(), configFilename)) + .configFile(new File(configFilename)) .transformer(this::handleArgsConfigOptions) .load(configClass); }