diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-01-14 21:22:14 +0000 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-01-14 21:22:14 +0000 |
commit | 80707c0a233c69544625e17dc8b3e00905eea2c5 (patch) | |
tree | aeece99798d1bac567db7376ee131f3446e29f29 /src/main/java/net/minecraft/server/EntityBoat.java | |
parent | 5cb6edd5a9b116dd3a97f1da5bbb32a393222e95 (diff) | |
download | craftbukkit-80707c0a233c69544625e17dc8b3e00905eea2c5.tar craftbukkit-80707c0a233c69544625e17dc8b3e00905eea2c5.tar.gz craftbukkit-80707c0a233c69544625e17dc8b3e00905eea2c5.tar.lz craftbukkit-80707c0a233c69544625e17dc8b3e00905eea2c5.tar.xz craftbukkit-80707c0a233c69544625e17dc8b3e00905eea2c5.zip |
Various fixes; boats, minecarts, musicblocks
Diffstat (limited to 'src/main/java/net/minecraft/server/EntityBoat.java')
-rw-r--r-- | src/main/java/net/minecraft/server/EntityBoat.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/EntityBoat.java b/src/main/java/net/minecraft/server/EntityBoat.java index d6262b58..004c8243 100644 --- a/src/main/java/net/minecraft/server/EntityBoat.java +++ b/src/main/java/net/minecraft/server/EntityBoat.java @@ -86,7 +86,7 @@ public class EntityBoat extends Entity implements CraftMappable { // CraftBukkit } // CraftBukkit end - public double l() { + public double k() { return (double) J * 0.0D - 0.30000001192092896D; } @@ -317,7 +317,7 @@ public class EntityBoat extends Entity implements CraftMappable { // CraftBukkit double d1 = Math.cos(((double) v * 3.1415926535897931D) / 180D) * 0.40000000000000002D; double d2 = Math.sin(((double) v * 3.1415926535897931D) / 180D) * 0.40000000000000002D; - j.a(p + d1, q + l() + j.F(), r + d2); + j.a(p + d1, q + k() + j.F(), r + d2); return; } } |