Made the canFly method less sensitive

This commit is contained in:
nathank33 2015-01-30 19:14:23 -08:00
parent 6548de6581
commit 92db7e86f1

View file

@ -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;
}