mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 03:43:40 +01:00
Fix formatting in CraftLivingEntity
By: md_5 <git@md-5.net>
This commit is contained in:
parent
0814f8bbad
commit
035d63bb02
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