1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-07 11:00:23 +01:00

Added plate runes

- Added plate template for runes
 - Added on_punch API's handler's function
 - Added popper rune
This commit is contained in:
LeMagnesium 2015-04-26 15:45:04 +02:00
parent a074967763
commit 274c874f35
2 changed files with 0 additions and 3 deletions

View File

@ -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

View File

@ -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