From 087a8eee8671a202ae38798081c5d9c667256ea7 Mon Sep 17 00:00:00 2001 From: Vanic Date: Sun, 18 Jan 2026 12:14:07 +0300 Subject: [PATCH] MapGen: remove unnecessary `@diagnostic disable...` --- mods/CORE/MapGen/src/MapGen.lua | 3 --- 1 file changed, 3 deletions(-) diff --git a/mods/CORE/MapGen/src/MapGen.lua b/mods/CORE/MapGen/src/MapGen.lua index ce2bb65..0e38fa6 100644 --- a/mods/CORE/MapGen/src/MapGen.lua +++ b/mods/CORE/MapGen/src/MapGen.lua @@ -382,14 +382,11 @@ local function generateNode(mapGenerator, layer, height, temp, humidity, data, i local scattHeight = y if scatteringGorizontal ~= 0 then - ---@diagnostic disable-next-line: param-type-not-match scattTemp = scattTemp + math.random(scatteringGorizontal * -1, scatteringGorizontal) - ---@diagnostic disable-next-line: param-type-not-match scattHumidity = scattHumidity + math.random(scatteringGorizontal * -1, scatteringGorizontal) end if scatteringVertical ~= 0 then - ---@diagnostic disable-next-line: param-type-not-match scattHeight = scattHeight + math.random(scatteringVertical * -1, scatteringVertical) end