Submodules: update ide-helper

This commit is contained in:
Van
2026-02-13 21:35:47 +03:00
parent 8fb4e4db00
commit 46427f565f
7 changed files with 8 additions and 9 deletions

View File

@@ -425,9 +425,9 @@ end
function MapGen:registerPeak(layerName, category, def)
local layer = self:getLayerByName(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))
--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))
---@type MapGen.Peak
local peak = Peak:new(def)