mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 15:17:59 +01:00
Fixed mobs getting stuck targetting an invalid entity. Fixes #414
This commit is contained in:
parent
82aa1bc5af
commit
8a860178f6
1 changed files with 1 additions and 0 deletions
|
@ -49,6 +49,7 @@ public class BreakHeartGoal extends Goal {
|
|||
public void stop() {
|
||||
targetter.stop();
|
||||
mob.getNavigation().stop();
|
||||
mob.setTarget(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue