Fix Gui crash on server startup

This commit is contained in:
mezz committed 2015-11-08 19:24:46 -08:00
1 parent 01433d7741
commit 56a9e84800
23 files changed
+112 -48

No files matched your search

@@ -43,7 +43,6 @@ import cpw.mods.fml.common.FMLCommonHandler;
import cpw.mods.fml.common.SidedProxy;
import cpw.mods.fml.common.event.FMLInterModComms.IMCMessage;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods.fml.common.network.IGuiHandler;
import cpw.mods.fml.common.registry.GameData;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.common.registry.VillagerRegistry;
@@ -121,6 +120,7 @@ import forestry.apiculture.worldgen.HiveDecorator;
import forestry.apiculture.worldgen.HiveDescription;
import forestry.apiculture.worldgen.HiveGenHelper;
import forestry.apiculture.worldgen.HiveRegistry;
import forestry.core.GuiHandlerBase;
import forestry.core.ISaveEventHandler;
import forestry.core.blocks.BlockBase;
import forestry.core.config.Config;
@@ -515,7 +515,7 @@ public class PluginApiculture extends ForestryPlugin {
}
@Override
public IGuiHandler getGuiHandler() {
public GuiHandlerBase getGuiHandler() {
return new GuiHandlerApiculture();
}