From 991054fdf165b03e198b8971d312aaa589185b4e Mon Sep 17 00:00:00 2001 From: CrushedPixel Date: Sun, 3 May 2015 09:07:37 +0200 Subject: [PATCH] Fixed Keybind Settings being reset upon restarting the mod --- .../eu/crushedpixel/replaymod/registry/KeybindRegistry.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/eu/crushedpixel/replaymod/registry/KeybindRegistry.java b/src/main/java/eu/crushedpixel/replaymod/registry/KeybindRegistry.java index 6e5ea395..21e5c32a 100755 --- a/src/main/java/eu/crushedpixel/replaymod/registry/KeybindRegistry.java +++ b/src/main/java/eu/crushedpixel/replaymod/registry/KeybindRegistry.java @@ -29,5 +29,7 @@ public class KeybindRegistry { bindings.add(new KeyBinding(KEY_KEYFRAME_PRESETS, Keyboard.KEY_X, "replaymod.title")); mc.gameSettings.keyBindings = bindings.toArray(new KeyBinding[bindings.size()]); + + mc.gameSettings.loadOptions(); } }