bedwars/init.lua

19 lines
394 B
Lua
Raw Normal View History

2020-10-25 02:56:03 -07:00
bedwars = {}
2020-10-25 03:35:30 -07:00
bedwars.storage = minetest.get_mod_storage()
2020-10-25 02:56:03 -07:00
local mp = minetest.get_modpath(minetest.get_current_modname())
dofile(mp .. "/item.lua")
dofile(mp .. "/map.lua")
2020-10-25 03:35:30 -07:00
dofile(mp .. "/team.lua")
2020-10-25 02:56:03 -07:00
dofile(mp .. "/ui.lua")
2020-10-25 04:51:12 -07:00
dofile(mp .. "/bed.lua")
2020-10-25 02:56:03 -07:00
bedwars.log = function(msg)
if not msg then return end
minetest.log("action", "[bedwars] " .. msg)
end
bedwars.log("[bedwars] Loaded mod")