diff --git a/mods/runes/api.lua b/mods/runes/api.lua index 2c7470b7..382bc7ba 100644 --- a/mods/runes/api.lua +++ b/mods/runes/api.lua @@ -195,6 +195,8 @@ runes.functions.connect = function(itemname, callback, handler) runes.datas.handlers[itemname].on_punch = handler else minetest.log("error","[runes] Cannot connect handler to item's " .. itemname .. " unknown " .. callback .. " callback") + else + minetest.log("error","[runes] Cannot connect handler at " .. handler .. " to item's " .. itemname .. " unknown " .. callback .. " callback") return end end