Fix Model Rotation

This commit is contained in:
zimzaza4
2025-12-11 00:13:58 +08:00
parent 1c47fe83d2
commit fd1e8ed828

View File

@@ -50,7 +50,7 @@ public class PacketEntity {
}
public boolean teleport(@NotNull Location location) {
boolean sent = this.location.getWorld() != location.getWorld() || this.location.distanceSquared(location) > 0.000001;
boolean sent = this.location.getWorld() != location.getWorld() || this.location.distanceSquared(location) > 0.000001 || this.location.getYaw() != location.getYaw() || this.location.getPitch() != location.getPitch();
this.location = location.clone();
if (sent) sendLocationPacket(viewers);