1
0
mirror of https://github.com/mt-mods/hangglider.git synced 2025-07-06 18:30:39 +02:00
This commit is contained in:
Luke aka SwissalpS
2024-04-11 06:53:08 +02:00
committed by GitHub
parent 10d082c3bb
commit dcabbd6a5e

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)