From 87e8885557732437b0321e5aeb9e6e7dba0180ea Mon Sep 17 00:00:00 2001 From: Sollace Date: Tue, 8 Jan 2019 10:34:05 +0200 Subject: [PATCH] Fixed crash due to encorrect method signature --- src/api/java/com/minelittlepony/MineLittlePony.java | 2 +- src/main/java/com/minelittlepony/unicopia/MineLP.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/java/com/minelittlepony/MineLittlePony.java b/src/api/java/com/minelittlepony/MineLittlePony.java index 7608ec7e..b9be83f2 100644 --- a/src/api/java/com/minelittlepony/MineLittlePony.java +++ b/src/api/java/com/minelittlepony/MineLittlePony.java @@ -5,7 +5,7 @@ import net.minecraftforge.fml.relauncher.SideOnly; @SideOnly(Side.CLIENT) public abstract class MineLittlePony { - public static Object getConfig() { + public static MineLittlePony getInstance() { throw new RuntimeException(); } } diff --git a/src/main/java/com/minelittlepony/unicopia/MineLP.java b/src/main/java/com/minelittlepony/unicopia/MineLP.java index 3af15158..d9646477 100644 --- a/src/main/java/com/minelittlepony/unicopia/MineLP.java +++ b/src/main/java/com/minelittlepony/unicopia/MineLP.java @@ -12,7 +12,7 @@ public final class MineLP { public static boolean modIsActive() { if (!checkComplete) { try { - MineLittlePony.getConfig(); + MineLittlePony.getInstance(); modIsActive = true; } catch (Exception e) { modIsActive = false;