diff --git a/mods/CORE/MapGen/src/MapGen.lua b/mods/CORE/MapGen/src/MapGen.lua index 32e5969..b76e172 100644 --- a/mods/CORE/MapGen/src/MapGen.lua +++ b/mods/CORE/MapGen/src/MapGen.lua @@ -272,7 +272,6 @@ end ---@param color ColorString Noise color. Must be unique. ---@param noiseParams NoiseParams Fractal noise parameters. function MapGen:registerLayerNoiseColor(layerName, category, color, noiseParams) - ---@type MapGen.Layer local layer = self:getLayerByName(layerName) layer:addNoiseParamsColor(category, color, noiseParams) @@ -309,7 +308,6 @@ end ---@param category MapGen.Layer.Category Category indicating what will be generated by peak. ---@param def MapGen.PeakDef Peak description table, see details `MapGen.PeakDef`. function MapGen:registerPeak(layerName, category, def) - ---@type MapGen.Layer local layer = self:getLayerByName(layerName) assert(self:getPeakByPos(layer, category, def.pos) == nil, @@ -391,7 +389,6 @@ end ---@param pos Position The position of the peak to which the group should be added. ---@param groups table Groups to be added. function MapGen:addGroupsToPeakByPos(layerName, category, pos, groups) - ---@type MapGen.Layer local layer = self:getLayerByName(layerName) local peak = self:getPeakByPos(layer, category, pos)