summaryrefslogtreecommitdiffstats
path: root/src/main/java/org
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-08-02 09:38:52 +1000
committermd_5 <git@md-5.net>2018-08-02 09:38:52 +1000
commit272426acd7cfb50978f478f49d835c8541da2a4e (patch)
tree0cea34a7b66a53ea1424b2730a7f4d0f91b30905 /src/main/java/org
parentab5599e8f305163757fae22626969e1a7cd2bfa6 (diff)
downloadcraftbukkit-272426acd7cfb50978f478f49d835c8541da2a4e.tar
craftbukkit-272426acd7cfb50978f478f49d835c8541da2a4e.tar.gz
craftbukkit-272426acd7cfb50978f478f49d835c8541da2a4e.tar.lz
craftbukkit-272426acd7cfb50978f478f49d835c8541da2a4e.tar.xz
craftbukkit-272426acd7cfb50978f478f49d835c8541da2a4e.zip
SPIGOT-4199: Riptide related APIs
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java
index ae402a2b..0a3733b2 100644
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java
@@ -479,6 +479,11 @@ public class CraftLivingEntity extends CraftEntity implements LivingEntity {
}
@Override
+ public boolean isRiptiding() {
+ return getHandle().cO();
+ }
+
+ @Override
public AttributeInstance getAttribute(Attribute attribute) {
return getHandle().craftAttributes.getAttribute(attribute);
}