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 fromZ = this.z;
double diffX = x - locX;
double diffY = y - locY;
double diffZ = z - locZ;
double diffX = locX - x;
double diffY = locY - y;
double diffZ = locZ - z;
boolean rotEq = this.yaw == yaw && this.pitch == pitch;
this.x = locX;