mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 08:27:45 +00:00
Add Override to EntityNPCInterface
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user