diff options
-rw-r--r-- | Essentials/src/com/earth2me/essentials/utils/LocationUtil.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Essentials/src/com/earth2me/essentials/utils/LocationUtil.java b/Essentials/src/com/earth2me/essentials/utils/LocationUtil.java index d9871983c..aaaa8fc06 100644 --- a/Essentials/src/com/earth2me/essentials/utils/LocationUtil.java +++ b/Essentials/src/com/earth2me/essentials/utils/LocationUtil.java @@ -266,8 +266,8 @@ public class LocationUtil public static Location getSafeDestination(final IUser user, final Location loc) throws Exception { if (loc.getWorld().equals(user.getBase().getWorld()) - && (user.getBase().getGameMode() == GameMode.CREATIVE - || (user.isGodModeEnabled() && user.getBase().getAllowFlight()))) + && ((user.getBase().getGameMode() == GameMode.CREATIVE + || user.isGodModeEnabled()) && user.getBase().getAllowFlight())) { if (shouldFly(loc)) { |