12
0

Minimize teleport packet size and usage #240

Zusammengeführt
Lixfel hat 2 Commits von minPacket nach master 2023-05-09 15:49:35 +02:00 zusammengeführt
Nur Änderungen aus Commit 3bd995e9ae werden angezeigt - Alle Commits anzeigen

Datei anzeigen

@ -110,9 +110,9 @@ public class REntity {
double fromX = this.x; double fromX = this.x;
double fromZ = this.z; double fromZ = this.z;
double diffX = x - locX; double diffX = locX - x;
double diffY = y - locY; double diffY = locY - y;
double diffZ = z - locZ; double diffZ = locZ - z;
boolean rotEq = this.yaw == yaw && this.pitch == pitch; boolean rotEq = this.yaw == yaw && this.pitch == pitch;
this.x = locX; this.x = locX;