Skip to content

Commit

Permalink
Fix default namespace system property for in-development guidebook co…
Browse files Browse the repository at this point in the history
…ntent for addons. (#7772)
  • Loading branch information
shartte authored Mar 16, 2024
1 parent 998a697 commit c056898
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/appeng/client/guidebook/Guide.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c056898

Please sign in to comment.