Fix formatting in CraftLivingEntity

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2020-02-23 19:01:11 +11:00
parent 0814f8bbad
commit 035d63bb02

View file

@ -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