mirror of
https://gitlab.com/lunovox/e-urn.git
synced 2025-03-15 07:21:22 +00:00
This commit is contained in:
parent
91c853d2bf
commit
fc5b95fea3
1 changed files with 4 additions and 1 deletions
|
@ -37,15 +37,18 @@ minetest.register_node("eurn:eurn", {
|
|||
meta:set_string("owner",ownername)
|
||||
end,
|
||||
on_rightclick = function(pos, node, clicker)
|
||||
--[[
|
||||
local clickername = clicker:get_player_name()
|
||||
local meta = minetest.get_meta(pos)
|
||||
local ownername = meta:get_string("owner")
|
||||
modEUrn.FormSpecs.showHypertext(clickername)
|
||||
--]]
|
||||
|
||||
--[[
|
||||
if ownername == clickername then
|
||||
minetest.sound_play("sfx_eurn_button", {object=clicker, max_hear_distance=5.0,})
|
||||
end
|
||||
--]]
|
||||
modEUrn.FormSpecs.showHypertext(clickername)
|
||||
end,
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue