Fix formatting in CraftLivingEntity

This commit is contained in:
md_5 2020-02-23 19:01:11 +11:00
parent f7ab30557e
commit 3d61a853e3

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