From 274c874f351c39cc86a4d005755d7c6aaa380751 Mon Sep 17 00:00:00 2001 From: LeMagnesium Date: Sun, 26 Apr 2015 15:45:04 +0200 Subject: [PATCH] Added plate runes - Added plate template for runes - Added on_punch API's handler's function - Added popper rune --- mods/runes/api.lua | 2 -- mods/runes/handlers.lua | 1 - 2 files changed, 3 deletions(-) diff --git a/mods/runes/api.lua b/mods/runes/api.lua index 4b9e5284..c689feb6 100644 --- a/mods/runes/api.lua +++ b/mods/runes/api.lua @@ -161,8 +161,6 @@ 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 diff --git a/mods/runes/handlers.lua b/mods/runes/handlers.lua index efae5219..2ba6c4c7 100644 --- a/mods/runes/handlers.lua +++ b/mods/runes/handlers.lua @@ -36,7 +36,6 @@ end is_owner_online = function(pos) local meta = minetest.get_meta(pos) - print(meta:get_string("owner")) if meta:get_string("owner") ~= nil then return minetest.get_player_by_name(meta:get_string("owner")) ~= nil else