Remove on_right_click in monster spawner mod
This commit is contained in:
parent
d1ea880be6
commit
559d60ffe9
|
@ -112,13 +112,6 @@ minetest.register_node("mcl_monster_spawner:spawner", {
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
|
|
||||||
on_right_click = function(pos, placer)
|
|
||||||
|
|
||||||
if minetest.is_protected(pos, placer:get_player_name()) then
|
|
||||||
return
|
|
||||||
end
|
|
||||||
end,
|
|
||||||
|
|
||||||
on_receive_fields = function(pos, formname, fields, sender)
|
on_receive_fields = function(pos, formname, fields, sender)
|
||||||
|
|
||||||
if not fields.text or fields.text == "" then
|
if not fields.text or fields.text == "" then
|
||||||
|
|
Loading…
Reference in New Issue