Merge remote-tracking branch 'origin/feature/master' into feature/master

This commit is contained in:
Bella 2020-02-11 12:00:26 -05:00
commit 28b57e65ed
1 changed files with 3 additions and 1 deletions

View File

@ -108,7 +108,9 @@ public class ForgeEventProcessor {
public void onKeyInput(InputEvent.KeyInputEvent event) {
if (!Keyboard.getEventKeyState()) return;
if (("" + Keyboard.getEventCharacter()).equalsIgnoreCase(Command.getCommandPrefix())) {
if (!Minecraft.getMinecraft().player.isSneaking()) {
Minecraft.getMinecraft().displayGuiScreen(new GuiChat(Command.getCommandPrefix()));
}
} else {
ModuleManager.onBind(Keyboard.getEventKey());
}