mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-10 09:31:57 +01:00
Implement Entity.isOnGround(). Adds BUKKIT-3787
By: Chad Waters <authorblues@gmail.com>
This commit is contained in:
parent
2cad34e872
commit
e3356c9896
@ -182,6 +182,10 @@ public abstract class CraftEntity implements org.bukkit.entity.Entity {
|
||||
entity.velocityChanged = true;
|
||||
}
|
||||
|
||||
public boolean isOnGround() {
|
||||
return entity.onGround;
|
||||
}
|
||||
|
||||
public World getWorld() {
|
||||
return ((WorldServer) entity.world).getWorld();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user