Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-20 21:40:06 +01:00
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