geforkt von Mirrors/Paper
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:
Ursprung
adebd466fb
Commit
c625d00351
@ -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");
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren