diff --git a/src/main/java/net/natural/motionblur/MotionBlurMod.java b/src/main/java/net/natural/motionblur/MotionBlurMod.java index 7170a70..73c6195 100644 --- a/src/main/java/net/natural/motionblur/MotionBlurMod.java +++ b/src/main/java/net/natural/motionblur/MotionBlurMod.java @@ -107,7 +107,8 @@ public void onInitializeClient() { .setKeySaveConsumer(newValue -> { config.toggleKey = newValue.getCode(); toggleKeybinding.setBoundKey(newValue); - KeyBinding.updateKeysByCode(); // Ensure the keybinding gets updated + KeyBinding.updateKeysByCode(); + MinecraftClient.getInstance().options.write(); }) .build()); builder.setSavingRunnable(this::saveConfig);