diff --git a/src/main/java/net/natural/motionblur/MotionBlurMod.java b/src/main/java/net/natural/motionblur/MotionBlurMod.java index 73c6195..89121cb 100644 --- a/src/main/java/net/natural/motionblur/MotionBlurMod.java +++ b/src/main/java/net/natural/motionblur/MotionBlurMod.java @@ -30,17 +30,13 @@ public class MotionBlurMod implements ClientModInitializer { public static String ID = "naturalmotionblur"; private float currentBlur; - private static MotionBlurConfig config; - + private static KeyBinding toggleKeybinding; + private static final Gson GSON = new GsonBuilder().setLenient().setPrettyPrinting().create(); private static final ManagedShaderEffect motionblur = ShaderEffectManager.getInstance().manage(new Identifier(ID, "shaders/post/motion_blur.json"), shader -> shader.setUniformValue("BlendFactor", config.motionBlurStrength * 2)); - private static final Gson GSON = new GsonBuilder().setLenient().setPrettyPrinting().create(); - private static KeyBinding toggleKeybinding; - @Override - - + @Override public void onInitializeClient() { config = new MotionBlurConfig();