Add Override to EntityNPCInterface

This commit is contained in:
KAMKEEL committed 2022-08-26 15:50:58 -04:00
1 parent f1ea2ad961
commit b749ba1dec
1 file changed
+3
@@ -397,6 +397,7 @@ public abstract class EntityNPCInterface extends EntityCreature implements IEnti
return true;
}
@Override
public PathNavigate getNavigator() {
if(canFly())
return this.flyNavigator;
@@ -405,6 +406,7 @@ public abstract class EntityNPCInterface extends EntityCreature implements IEnti
}
}
@Override
public EntityMoveHelper getMoveHelper() {
if(canFly())
return this.flyMoveHelper;
@@ -413,6 +415,7 @@ public abstract class EntityNPCInterface extends EntityCreature implements IEnti
}
}
@Override
protected void updateAITasks()
{
if (this.isInWater() || this.stats.drowningType != 2) {