Remove on_right_click in monster spawner mod

This commit is contained in:
Wuzzy 2017-05-25 05:04:35 +02:00
parent d1ea880be6
commit 559d60ffe9

View file

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