Skip to content

Commit fd8b717

Browse files
committed
Fix Ponder integration for saving visual state of AE2 blocks
1 parent 240d08f commit fd8b717

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/main/java/appeng/util/Platform.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public class Platform {
8787
*/
8888
@Nullable
8989
private static final Class<?> ponderLevelClass = findPonderLevelClass(
90-
"com.simibubi.create.foundation.ponder.PonderWorld");
90+
"net.createmod.ponder.api.level.PonderLevel");
9191

9292
// This hack is used to allow tests and the guidebook to provide a recipe manager before the client loads a world
9393
public static RecipeManager fallbackClientRecipeManager;
@@ -114,6 +114,10 @@ private static Class<?> findPonderLevelClass(String className) {
114114
return null; // Don't attempt this on a dedicated server
115115
}
116116

117+
if (!ModList.get().isLoaded("ponder")) {
118+
return null;
119+
}
120+
117121
try {
118122
return Class.forName(className);
119123
} catch (ClassNotFoundException ignored) {

0 commit comments

Comments
 (0)