mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-15 17:44:46 +00:00
check nei
This commit is contained in:
1 parent
510bd94c5c
commit
dc6445bb6e
2 files changed
+7
-1
No files matched your search
@@ -3,6 +3,7 @@ package com.glodblock.github.proxy;
|
||||
import com.glodblock.github.loader.ListenerLoader;
|
||||
import com.glodblock.github.loader.RenderLoader;
|
||||
import com.glodblock.github.nei.recipes.DefaultExtractorLoader;
|
||||
import com.glodblock.github.util.ModAndClassUtil;
|
||||
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||
@@ -24,6 +25,8 @@ public class ClientProxy extends CommonProxy {
|
||||
@Override
|
||||
public void postInit(FMLPostInitializationEvent event){
|
||||
super.postInit(event);
|
||||
(new DefaultExtractorLoader()).run();
|
||||
if (ModAndClassUtil.NEI) {
|
||||
(new DefaultExtractorLoader()).run();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -21,6 +21,7 @@ public final class ModAndClassUtil {
|
||||
public static boolean ThE = false;
|
||||
public static boolean WCT = false;
|
||||
public static boolean IC2 = false;
|
||||
public static boolean NEI = false;
|
||||
|
||||
public static boolean isDoubleButton;
|
||||
public static boolean isSaveText;
|
||||
@@ -115,6 +116,8 @@ public final class ModAndClassUtil {
|
||||
WCT = true;
|
||||
if (Loader.isModLoaded("IC2"))
|
||||
IC2 = true;
|
||||
if (Loader.isModLoaded("NotEnoughItems"))
|
||||
NEI = true;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user