mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-26 14:53:05 +00:00
Fix #465 crash after closing catalogue and opening another item gui
This commit is contained in:
1 parent
f832025f6d
commit
dc1449855e
2 files changed
+3
-3
No files matched your search
@@ -72,7 +72,7 @@ public class GuiTradeName extends GuiForestry<MachineTrader> {
|
||||
protected void drawGuiContainerBackgroundLayer(float var1, int var2, int var3) {
|
||||
// Close gui screen if we linked up.
|
||||
if (container.machine.isLinked()) {
|
||||
this.mc.displayGuiScreen(null);
|
||||
this.mc.thePlayer.closeScreen();
|
||||
this.mc.setIngameFocus();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user