(List<IKeybinding> keybindings)
| 361 | } |
| 362 | |
| 363 | @Override |
| 364 | public void registerKeybindings(List<IKeybinding> keybindings) { |
| 365 | bhy[] currentKeybindings = getGameSettings().as; |
| 366 | bhy[] customKeybindings = new bhy[keybindings.size()]; |
| 367 | for (int i = 0; i < keybindings.size(); i++) { |
| 368 | customKeybindings[i] = (bhy) keybindings.get(i); |
| 369 | } |
| 370 | getGameSettings().as = Utils.concat(currentKeybindings, customKeybindings); |
| 371 | |
| 372 | getGameSettings().a(); |
| 373 | } |
| 374 | |
| 375 | @Override |
| 376 | public void playSound(String sound, float pitch) { |
nothing calls this directly
no test coverage detected