Recreate mouse input of replay overlay when the screen size changes

This commit is contained in:
johni0702
2015-05-31 17:46:28 +02:00
parent 779d0841d6
commit 967f591fbd

View File

@@ -133,6 +133,10 @@ public class GuiReplayOverlay extends Gui {
this.unregister();
other.register();
ReplayMod.overlay = other;
if (mc.currentScreen instanceof GuiMouseInput) {
mc.displayGuiScreen(new GuiMouseInput(other));
}
}
}