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:
Ursprung
0bd50eb9fb
Commit
5bd02e83f2
@ -184,6 +184,9 @@ public abstract class CraftEntity implements org.bukkit.entity.Entity {
|
||||
}
|
||||
|
||||
public boolean isOnGround() {
|
||||
if (entity instanceof EntityArrow) {
|
||||
return ((EntityArrow) entity).isInGround();
|
||||
}
|
||||
return entity.onGround;
|
||||
}
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren