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:
NO11 2022-02-01 15:56:09 +00:00
commit 568cf72683
1 changed files with 1 additions and 1 deletions

View File

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