SPIGOT-5968: Killer rabbits can't be set to the non-killer rabbit behavior
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -43,6 +43,7 @@ public class CraftRabbit extends CraftAnimals implements Rabbit {
|
||||
World world = ((CraftWorld) this.getWorld()).getHandle();
|
||||
entity.goalSelector = new PathfinderGoalSelector(world.getMethodProfilerSupplier());
|
||||
entity.targetSelector = new PathfinderGoalSelector(world.getMethodProfilerSupplier());
|
||||
entity.initPathfinder();
|
||||
entity.initializePathFinderGoals();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user