Skip to content

Commit

Permalink
add: is_gliding (close #87)
Browse files Browse the repository at this point in the history
from javadoc: Checks to see if an entity is gliding, such as using an Elytra.
https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/LivingEntity.html#isGliding()
  • Loading branch information
iGabyTM committed Aug 24, 2024
1 parent 3ab412f commit 86f5ad6
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,8 @@ public boolean canRegister() {
return bool(player.isDead());
case "is_flying":
return bool(player.isFlying());
case "is_gliding":
return bool(player.isGliding());
case "is_inside_vehicle":
return bool(player.isInsideVehicle());
case "is_leashed":
Expand Down

0 comments on commit 86f5ad6

Please sign in to comment.