diff options
author | Travis Watkins <amaranth@ubuntu.com> | 2013-03-13 17:33:27 -0500 |
---|---|---|
committer | Travis Watkins <amaranth@ubuntu.com> | 2013-03-15 13:28:59 -0500 |
commit | 83d29e461c85733f0113b6eb19db6e3b42da2949 (patch) | |
tree | b3063a1c28f478ab368d5ba3413a842def68c28f /src/main/java/net/minecraft/server/ControllerLook.java | |
parent | ba6e4c38cfa98ad291974195cc46d70a4f138ac1 (diff) | |
download | craftbukkit-83d29e461c85733f0113b6eb19db6e3b42da2949.tar craftbukkit-83d29e461c85733f0113b6eb19db6e3b42da2949.tar.gz craftbukkit-83d29e461c85733f0113b6eb19db6e3b42da2949.tar.lz craftbukkit-83d29e461c85733f0113b6eb19db6e3b42da2949.tar.xz craftbukkit-83d29e461c85733f0113b6eb19db6e3b42da2949.zip |
Update CraftBukkit to Minecraft 1.5
Diffstat (limited to 'src/main/java/net/minecraft/server/ControllerLook.java')
-rw-r--r-- | src/main/java/net/minecraft/server/ControllerLook.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/net/minecraft/server/ControllerLook.java b/src/main/java/net/minecraft/server/ControllerLook.java index bed36954..bd297b38 100644 --- a/src/main/java/net/minecraft/server/ControllerLook.java +++ b/src/main/java/net/minecraft/server/ControllerLook.java @@ -53,20 +53,20 @@ public class ControllerLook { // CraftBukkit end this.a.pitch = this.a(this.a.pitch, f1, this.c); - this.a.az = this.a(this.a.az, f, this.b); + this.a.aA = this.a(this.a.aA, f, this.b); } else { - this.a.az = this.a(this.a.az, this.a.ax, 10.0F); + this.a.aA = this.a(this.a.aA, this.a.ax, 10.0F); } - float f2 = MathHelper.g(this.a.az - this.a.ax); + float f2 = MathHelper.g(this.a.aA - this.a.ay); if (!this.a.getNavigation().f()) { if (f2 < -75.0F) { - this.a.az = this.a.ax - 75.0F; + this.a.aA = this.a.ay - 75.0F; } if (f2 > 75.0F) { - this.a.az = this.a.ax + 75.0F; + this.a.aA = this.a.ay + 75.0F; } } } |