diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java index 6898c063c7..c64107261b 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java @@ -825,7 +825,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player { public void setAllowFlight(boolean value) { if (isFlying() && !value) { - getHandle().abilities.canFly = false; + getHandle().abilities.isFlying = false; } getHandle().abilities.canFly = value;