diff --git a/mods/CORE/MapGen/src/MapGen.lua b/mods/CORE/MapGen/src/MapGen.lua index b625c68..87931b9 100644 --- a/mods/CORE/MapGen/src/MapGen.lua +++ b/mods/CORE/MapGen/src/MapGen.lua @@ -268,8 +268,8 @@ function MapGen:registerPeak(layerName, category, def) assert(layer ~= nil, ('There is no layer named `%s` registered.'):format(layerName)) assert(self:getPeakByPos(layer, category, def.pos) == nil, - ('In the `%s` layer in the `%s` category there is already a peak with coordinates: %s, %s, %s.'):format - (layerName, category, def.pos.x, def.pos.y, def.pos.z)) + ('In the `%s` layer in the `%s` category there is already a peak with coordinates: %s, %s, %s.'):format( + layerName, category, def.pos.x, def.pos.y, def.pos.z)) ---@type MapGen.Peak local peak = Peak:new(def) @@ -352,8 +352,8 @@ function MapGen:addGroupsToPeakByPos(layerName, category, pos, groups) assert(layer ~= nil, ('There is no layer named `%s` registered.'):format(layerName)) local peak = self:getPeakByPos(layer, category, pos) - assert( peak ~= nil, ('In the `%s` layer in the `%s` category there is no peak with coordinates: %s, %s, %s.'):format - (layerName, category, pos.x, pos.y, pos.z)) + assert( peak ~= nil, ('In the `%s` layer in the `%s` category there is no peak with coordinates: %s, %s, %s.'):format( + layerName, category, pos.x, pos.y, pos.z)) peak:addGroups(groups) end