fix typo
This commit is contained in:
parent
18a83fa5d7
commit
fed43586f2
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue