Stop loading the 'flying' setting from player.dat until it is properly implemented and used in NMS. Fixes BUKKIT-1183

Dieser Commit ist enthalten in:
EvilSeph 2012-03-15 05:00:37 -04:00
Ursprung adebd466fb
Commit c625d00351

Datei anzeigen

@ -24,7 +24,7 @@ public class PlayerAbilities {
NBTTagCompound nbttagcompound1 = nbttagcompound.getCompound("abilities"); NBTTagCompound nbttagcompound1 = nbttagcompound.getCompound("abilities");
this.isInvulnerable = nbttagcompound1.getBoolean("invulnerable"); 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.canFly = nbttagcompound1.getBoolean("mayfly");
this.canInstantlyBuild = nbttagcompound1.getBoolean("instabuild"); this.canInstantlyBuild = nbttagcompound1.getBoolean("instabuild");
} }