SteamWar/SpigotCore
Archiviert
13
0

Fix direction
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
Lixfel 2023-05-03 12:34:12 +02:00
Ursprung 7c9ea09f90
Commit 3bd995e9ae

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;