mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 19:49:35 +01:00
SPIGOT-3253: Fix entity yaw changes
By: md_5 <git@md-5.net>
This commit is contained in:
parent
530fe41851
commit
724dc2b59b
1 changed files with 1 additions and 1 deletions
|
@ -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(location.getX(), location.getY(), location.getZ(), location.getYaw(), location.getPitch());
|
||||
// SPIGOT-619: Force sync head rotation also
|
||||
entity.h(location.getYaw()); // PAIL: setHeadRotation
|
||||
entity.setHeadRotation(location.getYaw());
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue