Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-24 07:10:10 +01:00
Implement Entity.isOnGround(). Adds BUKKIT-3787
Dieser Commit ist enthalten in:
Ursprung
5df704bf5a
Commit
93fd33e218
@ -182,6 +182,10 @@ public abstract class CraftEntity implements org.bukkit.entity.Entity {
|
|||||||
entity.velocityChanged = true;
|
entity.velocityChanged = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isOnGround() {
|
||||||
|
return entity.onGround;
|
||||||
|
}
|
||||||
|
|
||||||
public World getWorld() {
|
public World getWorld() {
|
||||||
return ((WorldServer) entity.world).getWorld();
|
return ((WorldServer) entity.world).getWorld();
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren