From 035d63bb02706520475d8e10f96ca19aff0834da Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Sun, 23 Feb 2020 19:01:11 +1100 Subject: [PATCH] Fix formatting in CraftLivingEntity By: md_5 --- .../java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 f8ac807d17..4f20003193 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 @@ -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