ConcurrentModificationException related to mounts in 4.0.5
This is happens somewhat rarely but is causing players to become stuck on the model until they die.
[04:29:17] [Craft Scheduler Thread - 122 - ModelEngine/WARN]: [ModelEngine] Plugin ModelEngine vR4.0.5 generated an exception while executing task 15 java.util.ConcurrentModificationException: null at java.util.HashMap$HashIterator.nextNode(HashMap.java:1597) ~[?:?] at java.util.HashMap$KeyIterator.next(HashMap.java:1620) ~[?:?] at java.util.Collection.removeIf(Collection.java:576) ~[?:?] at com.ticxo.modelengine.core.model.bone.behavior.MountImpl.onFinalize(MountImpl.java:50) ~[ModelEngine-4.0.5.jar:?] at java.util.LinkedHashMap$LinkedValues.forEach(LinkedHashMap.java:647) ~[?:?] at com.ticxo.modelengine.core.model.bone.ModelBoneImpl.forBehaviors(ModelBoneImpl.java:320) ~[ModelEngine-4.0.5.jar:?] at com.ticxo.modelengine.core.model.bone.ModelBoneImpl.tick(ModelBoneImpl.java:146) ~[ModelEngine-4.0.5.jar:?] at java.util.concurrent.ConcurrentHashMap$ValuesView.forEach(ConcurrentHashMap.java:4780) ~[?:?] at com.ticxo.modelengine.core.model.bone.ModelBoneImpl.tick(ModelBoneImpl.java:140) ~[ModelEngine-4.0.5.jar:?] at java.util.concurrent.ConcurrentHashMap$ValuesView.forEach(ConcurrentHashMap.java:4780) ~[?:?] at com.ticxo.modelengine.core.model.bone.ModelBoneImpl.tick(ModelBoneImpl.java:140) ~[ModelEngine-4.0.5.jar:?] at com.ticxo.modelengine.core.model.ActiveModelImpl.forBones(ActiveModelImpl.java:313) ~[ModelEngine-4.0.5.jar:?] at com.ticxo.modelengine.core.model.ActiveModelImpl.tick(ActiveModelImpl.java:153) ~[ModelEngine-4.0.5.jar:?] at com.ticxo.modelengine.core.model.ModeledEntityImpl.tick(ModeledEntityImpl.java:110) ~[ModelEngine-4.0.5.jar:?] at com.ticxo.modelengine.api.model.ModelUpdater.updateAllModels(ModelUpdater.java:37) ~[ModelEngine-4.0.5.jar:?] at com.ticxo.modelengine.api.utils.ticker.DualTicker.lambda$queueRepeatingAsyncTask$5(DualTicker.java:57) ~[ModelEngine-4.0.5.jar:?] at com.ticxo.modelengine.api.utils.ticker.Task.tick(Task.java:25) ~[ModelEngine-4.0.5.jar:?] at java.util.ArrayList.removeIf(ArrayList.java:1672) ~[?:?] at java.util.ArrayList.removeIf(ArrayList.java:1660) ~[?:?] at com.ticxo.modelengine.api.utils.ticker.PseudoThread.tick(PseudoThread.java:63) ~[ModelEngine-4.0.5.jar:?] at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.20.1.jar:git-Paper-"a4d43b3"] at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[paper-1.20.1.jar:git-Paper-"a4d43b3"] at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[paper-1.20.1.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?] at java.lang.Thread.run(Thread.java:840) ~[?:?]