mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-02-13 08:14:23 +01:00
Fixed game getting stuck when opening the minelp settings menu
This commit is contained in:
parent
037f2199c2
commit
a2b7836a2e
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ public class MineLPClient extends MineLittlePony {
|
|||
public void onTick(MinecraftClient minecraft, boolean inGame) {
|
||||
if (inGame && minecraft.currentScreen == null) {
|
||||
if (keyBinding.isPressed()) {
|
||||
minecraft.disconnect(new GuiHost(new GuiPonySettings()));
|
||||
minecraft.openScreen(new GuiHost(new GuiPonySettings()));
|
||||
} else {
|
||||
long handle = minecraft.window.getHandle();
|
||||
|
||||
|
|
Loading…
Reference in a new issue