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