From 1a44e7010ac353b028f7cf2d6081f36487756be8 Mon Sep 17 00:00:00 2001 From: Pyritie Date: Tue, 21 Oct 2025 16:28:52 +0100 Subject: [PATCH] fix typo --- kubejs/startup_scripts/tfg/register_climates.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kubejs/startup_scripts/tfg/register_climates.js b/kubejs/startup_scripts/tfg/register_climates.js index 77996a459..6d7295a13 100644 --- a/kubejs/startup_scripts/tfg/register_climates.js +++ b/kubejs/startup_scripts/tfg/register_climates.js @@ -55,7 +55,7 @@ global.getMarsClimateController = function () { createWindCallback: function (builder) { var self = this; return function (level, pos, calendarTicks) { - const strength = Max.max(0, (Math.sin(calendarTicks / 10000) -0.6) / 1.5); + const strength = Math.max(0, (Math.sin(calendarTicks / 10000) -0.6) / 1.5); const newX = Math.cos(calendarTicks / 2400) * strength; const newZ = Math.sin(calendarTicks / 2400) * strength;