Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-16 21:10:17 +01:00
Fix inaccurate head yaw. Fixes BUKKIT-1702
Dieser Commit ist enthalten in:
Ursprung
fdddc681d2
Commit
8be14b5bb3
@ -253,6 +253,11 @@ public class EntityTrackerEntry {
|
||||
}
|
||||
}
|
||||
|
||||
// CraftBukkit start - Fix for nonsensical head yaw
|
||||
this.i = MathHelper.d(this.tracker.ar() * 256.0F / 360.0F);
|
||||
this.broadcast(new Packet35EntityHeadRotation(this.tracker.id, (byte) i));
|
||||
// CraftBukkit end
|
||||
|
||||
if (this.tracker instanceof EntityLiving) {
|
||||
EntityLiving entityliving = (EntityLiving) this.tracker;
|
||||
Iterator iterator = entityliving.getEffects().iterator();
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren