diff --git a/src/main/java/com/github/steveplays28/realisticsleep/RealisticSleep.java b/src/main/java/com/github/steveplays28/realisticsleep/RealisticSleep.java index ea72fc6..a643df4 100644 --- a/src/main/java/com/github/steveplays28/realisticsleep/RealisticSleep.java +++ b/src/main/java/com/github/steveplays28/realisticsleep/RealisticSleep.java @@ -49,7 +49,7 @@ public void onInitialize() { private void tickWorldRendererFasterWhileSleeping(ClientWorld world) { if (RealisticSleepApi.isSleeping(world)) { - for (int i = 0; i < config.worldRenderingSpeedMultiplier; i++) { + for (int i = 0; i < config.worldRendererTickSpeedMultiplier; i++) { MinecraftClient.getInstance().worldRenderer.tick(); } } diff --git a/src/main/java/com/github/steveplays28/realisticsleep/config/RealisticSleepConfig.java b/src/main/java/com/github/steveplays28/realisticsleep/config/RealisticSleepConfig.java index 3482fa7..ffd90a5 100644 --- a/src/main/java/com/github/steveplays28/realisticsleep/config/RealisticSleepConfig.java +++ b/src/main/java/com/github/steveplays28/realisticsleep/config/RealisticSleepConfig.java @@ -53,7 +53,7 @@ public class RealisticSleepConfig implements ConfigData { @ConfigEntry.Gui.Tooltip public double fluidRandomTickSpeedMultiplier = 1d; @ConfigEntry.Gui.Tooltip - public float worldRenderingSpeedMultiplier = 25f; + public float worldRendererTickSpeedMultiplier = 25f; @ConfigEntry.Gui.Tooltip public long tickDelay = -1;