Skip to content
Snippets Groups Projects
Commit 84e9e7d8 authored by BuckarooBanzay's avatar BuckarooBanzay
Browse files

fix luacheck errors/warnings

parent 40280245
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,8 @@ unused_args = false
allow_defined_top = true
globals = {
"mapserver"
"mapserver",
"moditems"
}
read_globals = {
......@@ -20,5 +21,6 @@ read_globals = {
"minecart", locator = { fields = { "beacons" } },
-- optional mods
"xban", "monitoring"
"xban", "monitoring",
"mcl_core", "mcl_sounds"
}
local default_path = core.get_modpath("default") and default
local mineclone_path = core.get_modpath("mcl_core") and mcl_core
local default_path = minetest.get_modpath("default") and default
local mineclone_path = minetest.get_modpath("mcl_core") and mcl_core
moditems = {}
......
......@@ -65,7 +65,7 @@ local register_poi = function(color, dye)
})
if mapserver.enable_crafting and (minetest.get_modpath("dye") or core.get_modpath("mcl_core")) then
if mapserver.enable_crafting and (minetest.get_modpath("dye") or minetest.get_modpath("mcl_core")) then
minetest.register_craft({
output = 'mapserver:poi_' .. color,
recipe = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment