wip
This commit is contained in:
@@ -1,14 +1,13 @@
|
||||
-- Imports & Exports -------------------------------------------------------------------------------
|
||||
-- Imports -----------------------------------------------------------------------------------------
|
||||
|
||||
local core = _G.core
|
||||
local jvmi = _G.jvmi
|
||||
|
||||
|
||||
-- Registrations -----------------------------------------------------------------------------------
|
||||
|
||||
local path = core.get_modpath("jvmi_mapgen")
|
||||
core.register_mapgen_script(path.."/mapenv.lua")
|
||||
local mod = jvmi.register_mod("jvmi_mapgen")
|
||||
|
||||
|
||||
-- Script ------------------------------------------------------------------------------------------
|
||||
|
||||
core.log("info", "jvmi_mapgen loaded")
|
||||
if jvmi.env == "main" then
|
||||
core.register_mapgen_script(mod.base_dir.."/mapgen.lua")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user