Skip to content

Commit aeab54f

Browse files
Fix crash with Phosphor disabled (#161)
1 parent 390f7ed commit aeab54f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/embeddedt/archaicfix/ArchaicFix.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public void preinit(FMLPreInitializationEvent event)
7676

7777
@EventHandler
7878
public void init(FMLInitializationEvent event) {
79-
if (Loader.isModLoaded(TargetedMod.CHUNKAPI.ModID()))
79+
if (Loader.isModLoaded(TargetedMod.CHUNKAPI.ModID()) && ArchaicConfig.enablePhosphor)
8080
{
8181
ChunkAPICompat.init(); // This must be a call to the class because otherwise the JVM will try to load DataManager.
8282
}

0 commit comments

Comments
 (0)