fix interact being revoked permanently (typo)

This commit is contained in:
cora 2022-02-01 16:39:51 +01:00
parent d007f33e6e
commit 5d1b5bf43f
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