1
0
forked from Clones/Controlify

fix unable to bind to GUI press button

This commit is contained in:
isXander
2023-02-10 21:43:06 +00:00
parent 1a71ac00bb
commit 89de9fedcc

View File

@ -96,7 +96,7 @@ public class BindButtonController implements Controller<IBind> {
@Override
public boolean overrideControllerButtons(ScreenProcessor<?> screen, dev.isxander.controlify.controller.Controller controller) {
if (controller.bindings().GUI_PRESS.justPressed()) {
if (controller.bindings().GUI_PRESS.justPressed() && !awaitingControllerInput) {
return awaitingControllerInput = true;
}