Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-17 05:20:05 +01:00
Fixed a crash in pitch/yaw calculation, probably a big improvement performance too (but then maybe not :D)
Dieser Commit ist enthalten in:
Ursprung
3c9944237a
Commit
13218f55e4
@ -144,8 +144,8 @@ public abstract class Entity {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected void c(float f, float f1) {
|
protected void c(float f, float f1) {
|
||||||
this.yaw = f;
|
this.yaw = f % 360f;
|
||||||
this.pitch = f1;
|
this.pitch = f1 % 360f;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void a(double d0, double d1, double d2) {
|
public void a(double d0, double d1, double d2) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren