Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 04:20:08 +01:00
SPIGOT-3644: Fix missed yaw callsite update
Dieser Commit ist enthalten in:
Ursprung
305df9035f
Commit
326c2e605f
@ -217,7 +217,7 @@ public abstract class CraftEntity implements org.bukkit.entity.Entity {
|
||||
}
|
||||
|
||||
public Location getLocation() {
|
||||
return new Location(getWorld(), entity.locX, entity.locY, entity.locZ, entity instanceof EntityLiving ? entity.getHeadRotation() : entity.yaw, entity.pitch);
|
||||
return new Location(getWorld(), entity.locX, entity.locY, entity.locZ, entity.getBukkitYaw(), entity.pitch);
|
||||
}
|
||||
|
||||
public Location getLocation(Location loc) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren