Fix formatting in CraftLivingEntity

This commit is contained in:
md_5 committed 2020-02-23 19:01:11 +11:00
1 parent f7ab30557e
commit 3d61a853e3
1 file changed
+1 -1
@@ -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