Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 12:30:06 +01:00
SPIGOT-3253: Fix entity yaw changes
Dieser Commit ist enthalten in:
Ursprung
1004352990
Commit
4377dac138
@ -280,7 +280,7 @@ public abstract class CraftEntity implements org.bukkit.entity.Entity {
|
|||||||
// entity.setLocation() throws no event, and so cannot be cancelled
|
// entity.setLocation() throws no event, and so cannot be cancelled
|
||||||
entity.setLocation(location.getX(), location.getY(), location.getZ(), location.getYaw(), location.getPitch());
|
entity.setLocation(location.getX(), location.getY(), location.getZ(), location.getYaw(), location.getPitch());
|
||||||
// SPIGOT-619: Force sync head rotation also
|
// SPIGOT-619: Force sync head rotation also
|
||||||
entity.h(location.getYaw()); // PAIL: setHeadRotation
|
entity.setHeadRotation(location.getYaw());
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren