diff options
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -152,7 +152,7 @@ hangglider.can_fly = function (pname, pos) return (minetest.check_player_privs(pname, {protection_bypass=true}) or wardzones.checkPlayerZoneAccess(pname, zone) or not zone["data"]["no_fly"]) end end - if hangglider.flak and areas then + if hangglider.flak and areas and not areas:canInteract(pos, pname) then for id, area in pairs(areas:getAreasAtPos(pos)) do if area.flak then return false |