diff options
author | Erik Broes <erikbroes@grum.nl> | 2012-01-15 12:54:58 +0100 |
---|---|---|
committer | Erik Broes <erikbroes@grum.nl> | 2012-01-15 12:54:58 +0100 |
commit | 233de0de2cc02150c57936b151981bd99ac2e8c6 (patch) | |
tree | 201b8aac022706d120e67c763236561d12335d39 /src/main/java/net/minecraft/server/EntityArrow.java | |
parent | a753ee587d60d5c315a662a19643225b7b796457 (diff) | |
download | craftbukkit-233de0de2cc02150c57936b151981bd99ac2e8c6.tar craftbukkit-233de0de2cc02150c57936b151981bd99ac2e8c6.tar.gz craftbukkit-233de0de2cc02150c57936b151981bd99ac2e8c6.tar.lz craftbukkit-233de0de2cc02150c57936b151981bd99ac2e8c6.tar.xz craftbukkit-233de0de2cc02150c57936b151981bd99ac2e8c6.zip |
Some efficiency updates to hit-mechanics. Thanks mintplant for the PR.
Diffstat (limited to 'src/main/java/net/minecraft/server/EntityArrow.java')
-rw-r--r-- | src/main/java/net/minecraft/server/EntityArrow.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/EntityArrow.java b/src/main/java/net/minecraft/server/EntityArrow.java index df195936..ec883fa8 100644 --- a/src/main/java/net/minecraft/server/EntityArrow.java +++ b/src/main/java/net/minecraft/server/EntityArrow.java @@ -150,7 +150,7 @@ public class EntityArrow extends Entity { MovingObjectPosition movingobjectposition1 = axisalignedbb1.a(vec3d, vec3d1); if (movingobjectposition1 != null) { - double d1 = vec3d.b(movingobjectposition1.f); + double d1 = vec3d.c(movingobjectposition1.f); // CraftBukkit - distance efficiency if (d1 < d0 || d0 == 0.0D) { entity = entity1; |