mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-30 16:28:00 +01:00
Fixed crash due to encorrect method signature
This commit is contained in:
parent
07aadf15eb
commit
87e8885557
2 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ import net.minecraftforge.fml.relauncher.SideOnly;
|
||||||
|
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public abstract class MineLittlePony {
|
public abstract class MineLittlePony {
|
||||||
public static Object getConfig() {
|
public static MineLittlePony getInstance() {
|
||||||
throw new RuntimeException();
|
throw new RuntimeException();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,7 @@ public final class MineLP {
|
||||||
public static boolean modIsActive() {
|
public static boolean modIsActive() {
|
||||||
if (!checkComplete) {
|
if (!checkComplete) {
|
||||||
try {
|
try {
|
||||||
MineLittlePony.getConfig();
|
MineLittlePony.getInstance();
|
||||||
modIsActive = true;
|
modIsActive = true;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
modIsActive = false;
|
modIsActive = false;
|
||||||
|
|
Loading…
Reference in a new issue