forked from MineClone5/MineClone5
Merge pull request 'fix interact being revoked permanently (typo) (#156)' (#157) from fix-interact-revoke into master
Reviewed-on: MineClone5/MineClone5#157
This commit is contained in:
commit
568cf72683
|
@ -184,7 +184,7 @@ local function set_interact(player, interact)
|
|||
local privs = minetest.get_player_privs(player_name)
|
||||
if privs.interact ~= interact then
|
||||
local meta = player:get_meta()
|
||||
if meta:get_int("ineract_revoked") ~= 1 then
|
||||
if meta:get_int("interact_revoked") ~= 1 then
|
||||
privs.interact = interact
|
||||
minetest.set_player_privs(player_name, privs)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue