13
0
geforkt von Mirrors/Paper

Return inGround when checking Arrow's OnGround state. Fixes BUKKIT-4439

By: EvilSeph <evilseph@gmail.com>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2013-07-10 20:25:34 -04:00
Ursprung 0bd50eb9fb
Commit 5bd02e83f2

Datei anzeigen

@ -184,6 +184,9 @@ public abstract class CraftEntity implements org.bukkit.entity.Entity {
} }
public boolean isOnGround() { public boolean isOnGround() {
if (entity instanceof EntityArrow) {
return ((EntityArrow) entity).isInGround();
}
return entity.onGround; return entity.onGround;
} }