Added Shortcut to toggle Interpolation ('O' key)

This commit is contained in:
CrushedPixel
2015-08-05 13:03:16 +02:00
parent e03610bcef
commit d4259c103f
4 changed files with 13 additions and 0 deletions

View File

@@ -229,5 +229,9 @@ public class KeyInputHandler {
if(kb.getKeyDescription().equals(KeybindRegistry.KEY_OBJECT_MANAGER) && (kb.isPressed() || kb.getKeyCode() == keyCode)) {
mc.displayGuiScreen(new GuiObjectManager());
}
if(kb.getKeyDescription().equals(KeybindRegistry.KEY_TOGGLE_INTERPOLATION) && (kb.isPressed() || kb.getKeyCode() == keyCode)) {
ReplayMod.replaySettings.toggleInterpolation();
}
}
}