mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2025-03-11 06:07:44 +01:00
Don't record protection violation for guest signs formspec
This commit is contained in:
parent
f8d4b994ff
commit
d777c2e970
1 changed files with 1 additions and 1 deletions
|
@ -484,7 +484,7 @@ function sign_tpl.on_place(itemstack, placer, pointed_thing)
|
|||
end
|
||||
|
||||
function sign_tpl.on_rightclick(pos, _, clicker, itemstack)
|
||||
if mcl_util.check_position_protection(pos, clicker) then
|
||||
if core.is_protected(pos, clicker:get_player_name()) then
|
||||
show_formspec(clicker, pos, true)
|
||||
return itemstack
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue