Fixed a few mods reloading

This commit is contained in:
jaredlll08 committed 2015-04-24 23:25:07 +02:00
1 parent c757841e06
commit 0f461a7815
27 files changed
+1316 -1231

No files matched your search

@@ -6,6 +6,8 @@ import cpw.mods.fml.common.Loader;
public class TweakerPlugin {
private static ArrayList<String> isLoaded = new ArrayList();
public static boolean hasInit = false;
public static void register(String mod, Class clazz) {
if (Loader.isModLoaded(mod)) {
@@ -25,4 +27,8 @@ public class TweakerPlugin {
public static boolean isLoaded(String string) {
return isLoaded.contains(string);
}
public static boolean hasInit(){
return hasInit;
}
}