From 129e8452c798bdc313e4190e90f62875fcc1bf29 Mon Sep 17 00:00:00 2001 From: Steveplays28 Date: Thu, 7 Dec 2023 18:51:25 +0100 Subject: [PATCH] style: Rename `worldRenderingSpeedMultiplier` to `worldRendererTickSpeedMultiplier` --- .../com/github/steveplays28/realisticsleep/RealisticSleep.java | 2 +- .../realisticsleep/config/RealisticSleepConfig.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;