From 93bcd4fa0afe558ba65668f4fbc5af4f7a277ed4 Mon Sep 17 00:00:00 2001 From: Sebastian Hartte Date: Sat, 16 Mar 2024 16:44:54 +0100 Subject: [PATCH] Fix default namespace system property for in-development guidebook content for addons. --- src/main/java/appeng/client/guidebook/Guide.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/appeng/client/guidebook/Guide.java b/src/main/java/appeng/client/guidebook/Guide.java index 062057c8a6e..897a412f7a2 100644 --- a/src/main/java/appeng/client/guidebook/Guide.java +++ b/src/main/java/appeng/client/guidebook/Guide.java @@ -447,8 +447,7 @@ private Builder(@Nullable IEventBus modEventBus, String defaultNamespace, String // Development sources folder var devSourcesFolderProperty = String.format(Locale.ROOT, "guideDev.%s.sources", folder); - var devSourcesNamespaceProperty = String.format(Locale.ROOT, "guideDev.%s.sourcesNamespace", - defaultNamespace); + var devSourcesNamespaceProperty = String.format(Locale.ROOT, "guideDev.%s.sourcesNamespace", folder); var sourceFolder = System.getProperty(devSourcesFolderProperty); if (sourceFolder != null) { developmentSourceFolder = Paths.get(sourceFolder);