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