Mod: .getInfo() -> :getInfo()

This commit is contained in:
Van
2026-11-13 17:43:26 +03:00
parent 1e91290b02
commit e540107876
55 changed files with 73 additions and 73 deletions

View File

@@ -3,7 +3,7 @@
--core.set_mapgen_setting('chunksize', '{x=2,y=10,z=2}', true)
local mapGeneneratorRequire = Mod.getInfo('smc__core__map_generator').require
local mapGeneneratorRequire = Mod:getInfo('smc__core__map_generator').require
-- Main env init
local mapGenerator = mapGeneneratorRequire('mapGenerator')

View File

@@ -3,7 +3,7 @@ local id = core.get_content_id
local mathRound = math.round
local mapGenRequire = Mod.getInfo('smc__core__map_gen').require
local mapGenRequire = Mod:getInfo('smc__core__map_gen').require
---@type MapGen
local MapGen = mapGenRequire('MapGen')