MCPcopy Create free account
hub / github.com/demoth/jake2 / UnbindCommand

Method UnbindCommand

client/src/main/java/jake2/client/Menu.java:713–724  ·  view source on GitHub ↗
(String command)

Source from the content-addressed store, hash-verified

711 private static menuaction_s s_keys_help_computer_action = new menuaction_s();
712
713 private static void UnbindCommand(String command) {
714 int j;
715 String b;
716
717 for (j = 0; j < 256; j++) {
718 b = ClientGlobals.keybindings[j];
719 if (b == null)
720 continue;
721 if (b.equals(command))
722 Key.SetBinding(j, "");
723 }
724 }
725
726 private static void FindKeysForCommand(String command, int twokeys[]) {
727 int count;

Callers 2

KeyBindingFuncMethod · 0.95
Keys_MenuKey_fMethod · 0.95

Calls 2

SetBindingMethod · 0.95
equalsMethod · 0.45

Tested by

no test coverage detected