diff options
author | EvilSeph <evilseph@gmail.com> | 2013-07-10 20:25:34 -0400 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2013-07-10 20:27:03 -0400 |
commit | 67f15266dae4d2963d5351fb20f40de63acd721e (patch) | |
tree | 807ea2e75e0ca94aae4f8e0f6b986ba1b9fd9e22 /src/main/java/net/minecraft | |
parent | a31158bd0be5d4f0dabe14de0a17f79c3030e65c (diff) | |
download | craftbukkit-67f15266dae4d2963d5351fb20f40de63acd721e.tar craftbukkit-67f15266dae4d2963d5351fb20f40de63acd721e.tar.gz craftbukkit-67f15266dae4d2963d5351fb20f40de63acd721e.tar.lz craftbukkit-67f15266dae4d2963d5351fb20f40de63acd721e.tar.xz craftbukkit-67f15266dae4d2963d5351fb20f40de63acd721e.zip |
Return inGround when checking Arrow's OnGround state. Fixes BUKKIT-4439
Diffstat (limited to 'src/main/java/net/minecraft')
-rw-r--r-- | src/main/java/net/minecraft/server/EntityArrow.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/EntityArrow.java b/src/main/java/net/minecraft/server/EntityArrow.java index 65e7a88f..a4766c5e 100644 --- a/src/main/java/net/minecraft/server/EntityArrow.java +++ b/src/main/java/net/minecraft/server/EntityArrow.java @@ -444,4 +444,10 @@ public class EntityArrow extends Entity implements IProjectile { return (b0 & 1) != 0; } + + // CraftBukkit start + public boolean isInGround() { + return inGround; + } + // CraftBukkit end } |