mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-18 19:29:17 +00:00
Fix Gui crash on server startup
This commit is contained in:
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();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user