Fix loading TinkerBook on server instances.
@@ -3,6 +3,7 @@ package slimeknights.tconstruct;
import net.minecraft.item.Item;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.event.RegistryEvent;
+import net.minecraftforge.fml.common.FMLCommonHandler;
import net.minecraftforge.fml.common.Loader;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.SidedProxy;
@@ -114,8 +115,11 @@ public class TConstruct {
pulseManager.registerPulse(new TinkerDebug());
+ if(FMLCommonHandler.instance().getSide() == Side.CLIENT)
+ {
TinkerBook.init();
}
+ }
public TConstruct() {
if(Loader.isModLoaded("Natura")) {
