14 lines
386 B
Lua
14 lines
386 B
Lua
-- Imports -----------------------------------------------------------------------------------------
|
|
|
|
local core = _G.core
|
|
local jvmi = _G.jvmi
|
|
|
|
local mod = jvmi.register_mod("jvmi_mapgen")
|
|
|
|
|
|
-- Script ------------------------------------------------------------------------------------------
|
|
|
|
if jvmi.env == "main" then
|
|
core.register_mapgen_script(mod.base_dir.."/mapgen.lua")
|
|
end
|