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
1c52237568
commit
6ac22e36a1
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