summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEvilSeph <evilseph@gmail.com>2012-03-15 05:00:37 -0400
committerEvilSeph <evilseph@gmail.com>2012-03-15 05:00:37 -0400
commitc625d00351f3c9c7042c8e391d76e333d57bd04a (patch)
tree58b3b2055f9489d8acee39da8cbe0bc7e5359bfe /src
parentadebd466fb42530d5344947223a13936eb57e4b1 (diff)
downloadcraftbukkit-c625d00351f3c9c7042c8e391d76e333d57bd04a.tar
craftbukkit-c625d00351f3c9c7042c8e391d76e333d57bd04a.tar.gz
craftbukkit-c625d00351f3c9c7042c8e391d76e333d57bd04a.tar.lz
craftbukkit-c625d00351f3c9c7042c8e391d76e333d57bd04a.tar.xz
craftbukkit-c625d00351f3c9c7042c8e391d76e333d57bd04a.zip
Stop loading the 'flying' setting from player.dat until it is properly implemented and used in NMS. Fixes BUKKIT-1183
Diffstat (limited to 'src')
-rw-r--r--src/main/java/net/minecraft/server/PlayerAbilities.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/PlayerAbilities.java b/src/main/java/net/minecraft/server/PlayerAbilities.java
index 41f9e0e1..1b877a05 100644
--- a/src/main/java/net/minecraft/server/PlayerAbilities.java
+++ b/src/main/java/net/minecraft/server/PlayerAbilities.java
@@ -24,7 +24,7 @@ public class PlayerAbilities {
NBTTagCompound nbttagcompound1 = nbttagcompound.getCompound("abilities");
this.isInvulnerable = nbttagcompound1.getBoolean("invulnerable");
- this.isFlying = nbttagcompound1.getBoolean("flying");
+ //this.isFlying = nbttagcompound1.getBoolean("flying"); // CraftBukkit - not fully implemented.
this.canFly = nbttagcompound1.getBoolean("mayfly");
this.canInstantlyBuild = nbttagcompound1.getBoolean("instabuild");
}