SFINV: Fix minetest typo
This commit is contained in:
parent
3a0c621ec3
commit
27d26cae44
@ -193,7 +193,7 @@ we need to do that whenever kick or ban is granted or revoked to a player:
|
|||||||
{% highlight lua %}
|
{% highlight lua %}
|
||||||
local function on_grant_revoke(grantee, granter, priv)
|
local function on_grant_revoke(grantee, granter, priv)
|
||||||
if priv == "kick" or priv == "ban" then
|
if priv == "kick" or priv == "ban" then
|
||||||
local player = mientest.get_player_by_name(grantee)
|
local player = minetest.get_player_by_name(grantee)
|
||||||
if player then
|
if player then
|
||||||
sfinv.set_player_inventory_formspec(player)
|
sfinv.set_player_inventory_formspec(player)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user