This commit is contained in:
Luke aka SwissalpS 2024-04-11 06:53:08 +02:00 committed by GitHub
parent 10d082c3bb
commit dcabbd6a5e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ local function hangglider_use(stack, player)
local pos = player:get_pos()
local name = player:get_player_name()
if not hanggliding_players[name] then
if not hangglider.allowed_to_fly(pos, name, false)
if not hangglider.allowed_to_fly(pos, name, false) then
return
end
minetest.sound_play("hanggliger_equip", {pos = pos, max_hear_distance = 8, gain = 1.0}, true)