geforkt von Mirrors/Paper
Implement Entity.isOnGround(). Adds BUKKIT-3787
By: Chad Waters <authorblues@gmail.com>
Dieser Commit ist enthalten in:
Ursprung
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();
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren