wip
This commit is contained in:
@@ -1,9 +1,16 @@
|
||||
-- Imports -----------------------------------------------------------------------------------------
|
||||
|
||||
local jvmi = _G.jvmi
|
||||
local core = _G.core
|
||||
|
||||
local mod = jvmi.register_mod("jvmi_biomes")
|
||||
|
||||
-- Registrations -----------------------------------------------------------------------------------
|
||||
|
||||
core.clear_registered_biomes()
|
||||
dofile(core.get_modpath("jvmi_biomes").."/definitions.lua")
|
||||
-- Script ------------------------------------------------------------------------------------------
|
||||
|
||||
if jvmi.env == "main" then
|
||||
core.clear_registered_biomes()
|
||||
mod.domodfile("definitions.lua")
|
||||
elseif jvmi.env == "mapgen" then
|
||||
mod.domodfile("mapgen.lua")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user