This commit is contained in:
NO11 2021-09-19 11:28:07 +00:00
parent 18a83fa5d7
commit fed43586f2

View file

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