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

@@ -16,9 +16,8 @@ import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import cpw.mods.fml.common.network.IGuiHandler;
import forestry.api.food.BeverageManager;
import forestry.core.GuiHandlerBase;
import forestry.core.config.Constants;
import forestry.core.config.ForestryItem;
import forestry.core.fluids.Fluids;
@@ -91,7 +90,7 @@ public class PluginFood extends ForestryPlugin {
}
@Override
public IGuiHandler getGuiHandler() {
public GuiHandlerBase getGuiHandler() {
return new GuiHandlerFood();
}
}