mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-07 19:10: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:
parent
a074967763
commit
274c874f35
|
@ -161,8 +161,6 @@ runes.functions.connect = function(itemname, callback, handler)
|
||||||
runes.datas.handlers[itemname].on_punch = handler
|
runes.datas.handlers[itemname].on_punch = handler
|
||||||
else
|
else
|
||||||
minetest.log("error","[runes] Cannot connect handler to item's " .. itemname .. " unknown " .. callback .. " callback")
|
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
|
return
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -36,7 +36,6 @@ end
|
||||||
|
|
||||||
is_owner_online = function(pos)
|
is_owner_online = function(pos)
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
print(meta:get_string("owner"))
|
|
||||||
if meta:get_string("owner") ~= nil then
|
if meta:get_string("owner") ~= nil then
|
||||||
return minetest.get_player_by_name(meta:get_string("owner")) ~= nil
|
return minetest.get_player_by_name(meta:get_string("owner")) ~= nil
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user