Changeset a1c0663 in Primary

Timestamp:
Dec 3, 2019 11:55:44 AM (4 years ago)
Author:
Jonathan Neufeld <support@…>
Branches:
bugfix/twilight-forest-freezes, feature/aac-radio-playback, feature/entity-update-scheduling, improved-boat, master
Children:
a816cf3
Parents:
b0717dd
git-author:
Jonathan Neufeld <support@…> (12/03/19 11:55:09)
git-committer:
Jonathan Neufeld <support@…> (12/03/19 11:55:44)
Message:

The AI arrow attack task had no limit checks and would lead to mobs trying to compute a path across the world (~4,000 blocks at least) to mysteriously distant attack targets. Clearly the algorithm that selects such attack targets is buggy as well, but this change guards against such bugs and prevents consuming CPU for unreasonably distant targets by limiting the AI task to attack targets 24 or fewer blocks away.

(No files)

Note: See TracChangeset for help on using the changeset viewer.