From 8777dd8e62ae7bbc839e98301ff759fee887ddb9 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Mon, 14 Jun 2021 19:11:46 +1000 Subject: [PATCH] #863: Add LivingEntity#isClimbing By: Martoph --- .../org/bukkit/craftbukkit/entity/CraftLivingEntity.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java index 3509252527..fdf6fbd896 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java @@ -606,6 +606,11 @@ public class CraftLivingEntity extends CraftEntity implements LivingEntity { return getHandle().isSleeping(); } + @Override + public boolean isClimbing() { + return getHandle().isClimbing(); + } + @Override public AttributeInstance getAttribute(Attribute attribute) { return getHandle().craftAttributes.getAttribute(attribute);