Skip to content

Commit bc8ed6a

Browse files
committed
Update PathSeeker.java
1 parent 3f8a43a commit bc8ed6a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/main/java/dev/journey/PathSeeker/PathSeeker.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,12 @@ public void onInitialize() {
5555
Commands.add(new ScreenshotFolderCommand());
5656
Commands.add(new Stats2b2t());
5757

58-
if (FabricLoader.getInstance().isModLoaded("xaeroplus")) {
58+
if (FabricLoader.getInstance().isModLoaded("xaeroworldmap") && FabricLoader.getInstance().isModLoaded("xaerominimap")) {
59+
60+
Modules.get().add(new OldChunkNotifier());
5961
Modules.get().add(new TrailFollower());
6062
} else {
61-
LOG.info("XaeroPlus not found, disabling TrailFollower and OldChunkNotifier");
63+
LOG.info("Xaeros minimap and world map not found, disabling modules that require it.");
6264
}
6365
}
6466

@@ -73,5 +75,4 @@ public void onRegisterCategories() {
7375
public String getPackage() {
7476
return "dev.journey.PathSeeker";
7577
}
76-
7778
}

0 commit comments

Comments
 (0)