forked from Clones/Controlify
fix unable to bind to GUI press button
This commit is contained in:
1 parent
1a71ac00bb
commit
89de9fedcc
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user