Fixed a crash in pitch/yaw calculation, probably a big improvement performance too (but then maybe not :D)

This commit is contained in:
Dinnerbone authored and Dinnerbone committed 2011-04-07 06:51:36 +01:00
1 parent 3c9944237a
commit 13218f55e4
1 file changed
+2 -2
@@ -144,8 +144,8 @@ public abstract class Entity {
}
protected void c(float f, float f1) {
this.yaw = f;
this.pitch = f1;
this.yaw = f % 360f;
this.pitch = f1 % 360f;
}
public void a(double d0, double d1, double d2) {