SPIGOT-3587: Set head rotation when spawning entity
Dieser Commit ist enthalten in:
Ursprung
a3b3a421ac
Commit
59fa98bfb7
@ -1108,6 +1108,7 @@ public class CraftWorld implements World {
|
|||||||
|
|
||||||
if (entity != null) {
|
if (entity != null) {
|
||||||
entity.setLocation(x, y, z, yaw, pitch);
|
entity.setLocation(x, y, z, yaw, pitch);
|
||||||
|
entity.setHeadRotation(yaw); // SPIGOT-3587
|
||||||
}
|
}
|
||||||
} else if (Hanging.class.isAssignableFrom(clazz)) {
|
} else if (Hanging.class.isAssignableFrom(clazz)) {
|
||||||
Block block = getBlockAt(location);
|
Block block = getBlockAt(location);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren