forked from MineClone5/MineClone5
fix interact being revoked permanently (typo)
This commit is contained in:
parent
d007f33e6e
commit
5d1b5bf43f
|
@ -184,7 +184,7 @@ local function set_interact(player, interact)
|
||||||
local privs = minetest.get_player_privs(player_name)
|
local privs = minetest.get_player_privs(player_name)
|
||||||
if privs.interact ~= interact then
|
if privs.interact ~= interact then
|
||||||
local meta = player:get_meta()
|
local meta = player:get_meta()
|
||||||
if meta:get_int("ineract_revoked") ~= 1 then
|
if meta:get_int("interact_revoked") ~= 1 then
|
||||||
privs.interact = interact
|
privs.interact = interact
|
||||||
minetest.set_player_privs(player_name, privs)
|
minetest.set_player_privs(player_name, privs)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue