forked from Clones/Controlify
🐛 Make the reset button act as an unbind button. (close #120)
This commit is contained in:
@ -95,11 +95,6 @@ public abstract class AbstractBindController<T extends ControllerState> implemen
|
||||
if (controller != control.controller) return true;
|
||||
|
||||
if (!justTookInput && !awaitingControllerInput) {
|
||||
if (controller.bindings().CLEAR_BINDING.justPressed()) {
|
||||
control.option().requestSet(new EmptyBind<>());
|
||||
return true;
|
||||
}
|
||||
|
||||
if (controller.bindings().GUI_PRESS.justPressed()) {
|
||||
ControllerBindHandler.setBindListener(this);
|
||||
return awaitingControllerInput = true;
|
||||
|
Reference in New Issue
Block a user