Mod: .getInfo() -> :getInfo()
This commit is contained in:
@@ -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')
|
||||
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user