This commit is contained in:
NO11 2021-09-19 11:18:09 +00:00
parent 0e15accada
commit 18a83fa5d7

@ -5,7 +5,7 @@ minetest.register_privilege("maphack", {
})
minetest.register_on_joinplayer(function(player)
local name = user:get_player_name()
local name = player:get_player_name()
local fly = false
if minetest.is_creative_enabled(name) then
fly = true