npc_talk_owner priv is still required even for players added to the list of allowed editors
This commit is contained in:
parent
430cbd65bb
commit
ab87304ed2
@ -1838,7 +1838,8 @@ function yl_speak_up.talk(self, clicker)
|
||||
-- is this player explicitly allowed to edit this npc?
|
||||
if(yl_speak_up.speak_to[pname].dialog
|
||||
and yl_speak_up.speak_to[pname].dialog.n_may_edit
|
||||
and yl_speak_up.speak_to[pname].dialog.n_may_edit[pname] ) then
|
||||
and yl_speak_up.speak_to[pname].dialog.n_may_edit[pname]
|
||||
and minetest.check_player_privs(clicker, {npc_talk_owner=true})) then
|
||||
yl_speak_up.speak_to[pname].may_edit_this_npc = true
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user