diff --git a/.luacheckrc b/.luacheckrc
index befcb9701fcba1cee72972047092be2d5ea72715..722854b34fb2a25ba44b9332aafcb8d0712f1146 100644
--- a/.luacheckrc
+++ b/.luacheckrc
@@ -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"
 }
diff --git a/init.lua b/init.lua
index 1323cfb98c4a06593b99473e540c4ef75bc7550e..dba7d599ce3db2f4744629601064994cc0a3ec28 100644
--- a/init.lua
+++ b/init.lua
@@ -1,5 +1,5 @@
-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 = {}
 
diff --git a/poi.lua b/poi.lua
index f55178ce2c10fe15f371a5c1c31b7a30015a42b2..2da0a9678507c8453f829f2983cd211628d17a02 100644
--- a/poi.lua
+++ b/poi.lua
@@ -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 = {