ThreadTable Exception: Asynchronous Chunk getEntities call
If ThreadTable is active this error is in the log.
Happens when 2 players are present by a mob with ThreadTables active and a "thread"-skill.
MythicMobs v5.7.2 Premium
Paper Server 1.21.1
java.lang.IllegalStateException: Asynchronous Chunk getEntities call!
at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:15)
at net.minecraft.server.level.ServerLevel.getEntities(ServerLevel.java:2386)
at net.minecraft.server.level.ServerLevel.getEntity(ServerLevel.java:1922)
at org.bukkit.craftbukkit.CraftServer.getEntity(CraftServer.java:2758)
at org.bukkit.Bukkit.getEntity(Bukkit.java:2375)
at MythicMobs-5.7.2.jar//io.lumine.mythic.core.mobs.ActiveMob$ThreatTable.targetHighestThreat(ActiveMob.java:1267)
at MythicMobs-5.7.2.jar//io.lumine.mythic.core.mobs.ActiveMob$ThreatTable.threatLoss(ActiveMob.java:1396)
at MythicMobs-5.7.2.jar//io.lumine.mythic.core.skills.mechanics.ThreatMechanic.modifyThreat(ThreatMechanic.java:65)
at MythicMobs-5.7.2.jar//io.lumine.mythic.core.skills.mechanics.ThreatMechanic.castAtEntity(ThreatMechanic.java:53)
at MythicMobs-5.7.2.jar//io.lumine.mythic.core.skills.SkillMechanic.lambda$executeTargetedEntitySkill$16(SkillMechanic.java:592)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at MythicMobs-5.7.2.jar//io.lumine.mythic.core.skills.SkillMechanic.executeTargetedEntitySkill(SkillMechanic.java:588)
at MythicMobs-5.7.2.jar//io.lumine.mythic.core.skills.SkillMechanic.lambda$executeSkills$12(SkillMechanic.java:544)
at MythicMobs-5.7.2.jar//io.lumine.mythic.core.skills.SkillMechanic.runMechanic(SkillMechanic.java:583)
at MythicMobs-5.7.2.jar//io.lumine.mythic.core.skills.SkillMechanic.executeSkills(SkillMechanic.java:544)
at MythicMobs-5.7.2.jar//io.lumine.mythic.core.skills.SkillMechanic.execute(SkillMechanic.java:461)
at MythicMobs-5.7.2.jar//io.lumine.mythic.core.skills.SkillExecutor.executeMobTimerSkills(SkillExecutor.java:251)
at MythicMobs-5.7.2.jar//io.lumine.mythic.core.skills.SkillExecutor.runTimerSkills(SkillExecutor.java:233)
at MythicMobs-5.7.2.jar//io.lumine.mythic.bukkit.clock.MythicClock.runSkillClock(MythicClock.java:181)
at MythicMobs-5.7.2.jar//io.lumine.mythic.bukkit.utils.Delegates$RunnableToConsumer.accept(Delegates.java:93)
at MythicMobs-5.7.2.jar//io.lumine.mythic.bukkit.utils.Schedulers$LumineTask.run(Schedulers.java:184)
at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:86)
at org.bukkit.craftbukkit.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
Example Mob File:
waldwolf:
Type: Wolf
Display: '<&lb><mob.level><&rb>&F Wolf'
Health: 50
Armor: 0
Damage: 2
Options:
KnockbackResistance: 3.00
Angry: true
AlwaysShowName: true
Glowing: false
PreventSunburn: true
PreventLeashing: true
AIGoalSelectors:
- 0 clear
- 1 meleeattack
- 2 randomstroll
- 3 float
- 4 lookatplayers
- 5 randomlookaround
AITargetSelectors:
- 0 clear
- 1 players
Modules:
ThreatTable: true
Skills:
- threat{amount=-10000} @PlayersInRadius{r=40} ~onTimer:100