mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 15:17:59 +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)
|
||||
public abstract class MineLittlePony {
|
||||
public static Object getConfig() {
|
||||
public static MineLittlePony getInstance() {
|
||||
throw new RuntimeException();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue