(List<IKeybinding> keybindings)
| 374 | } |
| 375 | |
| 376 | @Override |
| 377 | public void registerKeybindings(List<IKeybinding> keybindings) { |
| 378 | cfe[] currentKeybindings = getGameSettings().aw; |
| 379 | cfe[] customKeybindings = new cfe[keybindings.size()]; |
| 380 | for (int i = 0; i < keybindings.size(); i++) { |
| 381 | customKeybindings[i] = (cfe) keybindings.get(i); |
| 382 | } |
| 383 | getGameSettings().aw = Utils.concat(currentKeybindings, customKeybindings); |
| 384 | |
| 385 | getGameSettings().a(); |
| 386 | } |
| 387 | |
| 388 | @Override |
| 389 | public void playSound(String sound, float pitch) { |
nothing calls this directly
no test coverage detected