Fixed crash due to encorrect method signature

This commit is contained in:
Sollace 2019-01-08 10:34:05 +02:00
parent 07aadf15eb
commit 87e8885557
2 changed files with 2 additions and 2 deletions

View file

@ -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();
}
}

View file

@ -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;