mirror of
https://github.com/GeyserExtensionists/GeyserModelEngine.git
synced 2025-12-19 15:09:18 +00:00
Fix Model Rotation
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user