MapGen: remove unnecessary @diagnostic disable...

This commit is contained in:
Van
2026-01-18 12:14:07 +03:00
parent cb853778fe
commit 087a8eee86

View File

@@ -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