JDKDigital / productive-bees

Useful bees
https://www.curseforge.com/minecraft/mc-mods/productivebees
Other
58 stars 40 forks source link

resolve #448 , reduce likelyhood of race condition occurrences #450

Closed pucgenie closed 9 months ago

pucgenie commented 9 months ago

ftb backups2 often causes a ConcurrentModificationException for inhabitantsIterator. This new code reduces the attack surface by shortening timeframes of Inhabitant iterator usages. resolves #448 KNOWN BUG: It will continue to lead to bee duplication if backup occurs between releaseBee() and removeAll(). Tick and Backup may not run in parallel...