mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 23:10:16 +01:00
Fix formatting in CraftLivingEntity
This commit is contained in:
parent
f7ab30557e
commit
3d61a853e3
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue