mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 11:40:40 +00:00
Made the canFly method less sensitive
This commit is contained in:
parent
6548de6581
commit
92db7e86f1
1 changed files with 1 additions and 1 deletions
|
@ -2661,7 +2661,7 @@ public class Methods {
|
|||
if(!canBend(player.getName(), "Flight")) return false;
|
||||
if(!getBoundAbility(player).equalsIgnoreCase("Flight")) return false;
|
||||
if(isRegionProtectedFromBuild(player, "Flight", player.getLocation())) return false;
|
||||
if(player.getLocation().subtract(0, 1, 0).getBlock().getType() != Material.AIR) return false;
|
||||
if(player.getLocation().subtract(0, 0.5, 0).getBlock().getType() != Material.AIR) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue