mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-25 06:24:37 +00:00
Fix: Server Issue with NEI
This commit is contained in:
1 parent
6368cd477b
commit
68202792b6
1 file changed
+3
-2
@@ -4,8 +4,6 @@ import cpw.mods.fml.common.*;
|
||||
import cpw.mods.fml.common.Mod.EventHandler;
|
||||
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||
import cpw.mods.fml.common.network.NetworkMod;
|
||||
import tconstruct.common.TContent;
|
||||
import tconstruct.plugins.fmp.register.RegisterWithFMP;
|
||||
|
||||
@Mod(modid = "TConstruct|NotEnoughItems", name = "TConstruct Compat: NEI", version = "0.1", dependencies = "after:NotEnoughItems;after:TConstruct")
|
||||
@NetworkMod(clientSideRequired = false, serverSideRequired = false)
|
||||
@@ -14,6 +12,9 @@ public class NotEnoughItems
|
||||
@EventHandler
|
||||
public static void load (FMLInitializationEvent ev)
|
||||
{
|
||||
if (ev.getSide().isServer())
|
||||
return;
|
||||
|
||||
if (!Loader.isModLoaded("NotEnoughItems"))
|
||||
{
|
||||
FMLLog.warning("NotEnoughItems missing - TConstruct Compat: NEI not loading.");
|
||||
|
||||
Reference in new issue
Block a user