mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-16 14:14:46 +00:00
EntityNPCInterface & EntityAIReturn:
-Fixed follower role
This commit is contained in:
1 parent
abf70368e1
commit
87818a3dbe
2 files changed
+8
-9
No files matched your search
@@ -770,8 +770,8 @@ public abstract class EntityNPCInterface extends EntityCreature implements IEnti
|
||||
* Add immutable task entries.
|
||||
*/
|
||||
public void addRegularEntries() {
|
||||
this.tasks.addTask(this.taskCount++, new EntityAIReturn(this));
|
||||
this.tasks.addTask(this.taskCount++, new EntityAIFollow(this));
|
||||
this.tasks.addTask(this.taskCount++, new EntityAIReturn(this));
|
||||
if (this.ai.standingType != EnumStandingType.NoRotation && this.ai.standingType != EnumStandingType.HeadRotation)
|
||||
this.tasks.addTask(this.taskCount++, new EntityAIWatchClosest(this, EntityLivingBase.class, 5.0F));
|
||||
this.tasks.addTask(this.taskCount++, new EntityAILook(this));
|
||||
|
||||
Reference in new issue
Block a user