From c625d00351f3c9c7042c8e391d76e333d57bd04a Mon Sep 17 00:00:00 2001 From: EvilSeph Date: Thu, 15 Mar 2012 05:00:37 -0400 Subject: [PATCH] Stop loading the 'flying' setting from player.dat until it is properly implemented and used in NMS. Fixes BUKKIT-1183 --- src/main/java/net/minecraft/server/PlayerAbilities.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minecraft/server/PlayerAbilities.java b/src/main/java/net/minecraft/server/PlayerAbilities.java index 41f9e0e1f5..1b877a055f 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"); }