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

@@ -15,9 +15,9 @@ import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import cpw.mods.fml.common.SidedProxy;
import cpw.mods.fml.common.network.IGuiHandler;
import forestry.api.core.ForestryAPI;
import forestry.core.GuiHandlerBase;
import forestry.core.blocks.BlockBase;
import forestry.core.config.Constants;
import forestry.core.config.ForestryBlock;
@@ -101,7 +101,7 @@ public class PluginEnergy extends ForestryPlugin {
}
@Override
public IGuiHandler getGuiHandler() {
public GuiHandlerBase getGuiHandler() {
return new GuiHandlerEnergy();
}
}