From 23b67643741d5754af4de020a29d557078f9f81d Mon Sep 17 00:00:00 2001 From: feildmaster Date: Wed, 19 Dec 2012 22:03:52 -0600 Subject: Update CraftBukkit to Minecraft 1.4.6 --- src/main/java/net/minecraft/server/ControllerLook.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/main/java/net/minecraft/server/ControllerLook.java') diff --git a/src/main/java/net/minecraft/server/ControllerLook.java b/src/main/java/net/minecraft/server/ControllerLook.java index 52595428..bed36954 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.ay = this.a(this.a.ay, f, this.b); + this.a.az = this.a(this.a.az, f, this.b); } else { - this.a.ay = this.a(this.a.ay, this.a.aw, 10.0F); + this.a.az = this.a(this.a.az, this.a.ax, 10.0F); } - float f2 = MathHelper.g(this.a.ay - this.a.aw); + float f2 = MathHelper.g(this.a.az - this.a.ax); if (!this.a.getNavigation().f()) { if (f2 < -75.0F) { - this.a.ay = this.a.aw - 75.0F; + this.a.az = this.a.ax - 75.0F; } if (f2 > 75.0F) { - this.a.ay = this.a.aw + 75.0F; + this.a.az = this.a.ax + 75.0F; } } } -- cgit v1.2.3