mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-18 19:24:10 +01:00
Stop loading the 'flying' setting from player.dat until it is properly implemented and used in NMS. Fixes BUKKIT-1183
This commit is contained in:
parent
adebd466fb
commit
c625d00351
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue