Skip to content

Commit

Permalink
style: Rename worldRenderingSpeedMultiplier to `worldRendererTickSp…
Browse files Browse the repository at this point in the history
…eedMultiplier`
  • Loading branch information
Steveplays28 committed Dec 7, 2023
1 parent b4c132d commit ec33ffd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ec33ffd

Please sign in to comment.