From 3d61a853e35fd3607a6b1ed45ca007e513835d72 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 23 Feb 2020 19:01:11 +1100 Subject: [PATCH] Fix formatting in CraftLivingEntity --- .../java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java index f8ac807d17..4f20003193 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java @@ -581,7 +581,7 @@ public class CraftLivingEntity extends CraftEntity implements LivingEntity { @Override public boolean hasAI() { - return (this.getHandle() instanceof EntityInsentient) ? !((EntityInsentient) this.getHandle()).isNoAI(): false; + return (this.getHandle() instanceof EntityInsentient) ? !((EntityInsentient) this.getHandle()).isNoAI() : false; } @Override