@parent broken and console spam
Summary
After 1.19.4 Update the @parent target doesnt work + Error spam in console.
[18:51:45 INFO]: Server Version: org.bukkit.craftbukkit.v1_19_R3 (Paper)
[18:51:45 INFO]: Plugin Version: 5.2.5
[18:51:45 INFO]: Plugin Build: 8a27ffaf
[18:51:45 INFO]: Is Premium: Yes
[18:51:45 INFO]: Is Dev Build: Yes
[18:51:45 INFO]: Supported Version: Yes
Steps to reproduce
test with this two mobs:
mob1:
Type: ZOMBIE_HORSE
Display: '&fmob1'
Health: 50
AIGoalSelectors:
- clear
- fleeConditional{distance=10;speed=2;safespeed=2;conditions=[ - playersinradius{a=>0;r=15} true ]}
- randomstroll
- eatgrass
AITargetSelectors:
- clear
- attacker
Skills:
- summon{type=mob2;amount=2-3;radius=3} @Origin ~onSpawn
Options:
AlwaysShowName: false
PreventItemPickup: true
PreventOtherDrops: true
PreventRandomEquipment: true
KnockbackResistance: 1
Tamed: false
mob2:
Type: ZOMBIE_HORSE
Display: '&fmob2'
Health: 30
AIGoalSelectors:
- clear
- fleeConditional{distance=10;speed=2;safespeed=2;conditions=[ - playersinradius{a=>0;r=15} true ]}
- randomstroll
- eatgrass
AITargetSelectors:
- clear
- attacker
Skills:
- goto{maxDistance=50;sh=3;sv=0} @parent ~onTimer:20 ?!incombat
Options:
AlwaysShowName: false
PreventItemPickup: true
PreventOtherDrops: true
PreventRandomEquipment: true
KnockbackResistance: 1
Tamed: false
Current behavior
The animals run through the area and do not follow mob1.
Intended correct behavior
The animals should follow the main mob.
Server log file
[17:54:22 ERROR]: Thread lumine-scheduler-87 failed main thread check: Chunk getEntities call
java.lang.Throwable: null
at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:15) ~[paper-1.19.4.jar:git-Paper-471]
at net.minecraft.server.level.ServerLevel.getEntities(ServerLevel.java:2416) ~[?:?]
at net.minecraft.server.level.ServerLevel.getEntity(ServerLevel.java:1880) ~[?:?]
at org.bukkit.craftbukkit.v1_19_R3.CraftServer.getEntity(CraftServer.java:2500) ~[paper-1.19.4.jar:git-Paper-471]
at org.bukkit.Bukkit.getEntity(Bukkit.java:2062) ~[paper-api-1.19.4-R0.1-SNAPSHOT.jar:?]
at io.lumine.mythic.bukkit.BukkitBootstrap.getEntity(BukkitBootstrap.java:128) ~[MythicMobs-5.2.5-4394.jar:?]
at io.lumine.mythic.core.mobs.ActiveMob.getParent(ActiveMob.java:332) ~[MythicMobs-5.2.5-4394.jar:?]
at io.lumine.mythic.core.skills.targeters.ParentTargeter.getEntities(ParentTargeter.java:26) ~[MythicMobs-5.2.5-4394.jar:?]
at io.lumine.mythic.core.skills.AbstractSkill.evaluateTargets(AbstractSkill.java:340) ~[MythicMobs-5.2.5-4394.jar:?]
at io.lumine.mythic.core.skills.AbstractSkill.evaluateTargets(AbstractSkill.java:328) ~[MythicMobs-5.2.5-4394.jar:?]
at io.lumine.mythic.core.skills.SkillMechanic.executeSkills(SkillMechanic.java:454) ~[MythicMobs-5.2.5-4394.jar:?]
at io.lumine.mythic.core.skills.SkillMechanic.execute(SkillMechanic.java:418) ~[MythicMobs-5.2.5-4394.jar:?]
at io.lumine.mythic.core.mobs.MobType.lambda$executeSkills$6(MobType.java:1208) ~[MythicMobs-5.2.5-4394.jar:?]
at io.lumine.mythic.bukkit.utils.Delegates$RunnableToSupplier.get(Delegates.java:121) ~[MythicMobs-5.2.5-4394.jar:?]
at io.lumine.mythic.bukkit.utils.promise.LuminePromise$SupplyRunnable.run(LuminePromise.java:654) ~[MythicMobs-5.2.5-4394.jar:?]
at io.lumine.mythic.bukkit.utils.tasks.LumineExecutors$SchedulerWrappedRunnable.run(LumineExecutors.java:70) ~[MythicMobs-5.2.5-4394.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:833) ~[?:?]
[17:54:22 ERROR]: [MythicMobs] [SCHEDULER] Exception thrown whilst executing task
[17:54:22 WARN]: java.lang.IllegalStateException: Asynchronous Chunk getEntities call!
[17:54:22 WARN]: at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:16)
[17:54:22 WARN]: at net.minecraft.server.level.WorldServer.E(WorldServer.java:2416)
[17:54:22 WARN]: at net.minecraft.server.level.WorldServer.a(WorldServer.java:1880)
[17:54:22 WARN]: at org.bukkit.craftbukkit.v1_19_R3.CraftServer.getEntity(CraftServer.java:2500)
[17:54:22 WARN]: at org.bukkit.Bukkit.getEntity(Bukkit.java:2062)
[17:54:22 WARN]: at MythicMobs-5.2.5-4394.jar//io.lumine.mythic.bukkit.BukkitBootstrap.getEntity(BukkitBootstrap.java:128)
[17:54:22 WARN]: at MythicMobs-5.2.5-4394.jar//io.lumine.mythic.core.mobs.ActiveMob.getParent(ActiveMob.java:332)
[17:54:22 WARN]: at MythicMobs-5.2.5-4394.jar//io.lumine.mythic.core.skills.targeters.ParentTargeter.getEntities(ParentTargeter.java:26)
[17:54:22 WARN]: at MythicMobs-5.2.5-4394.jar//io.lumine.mythic.core.skills.AbstractSkill.evaluateTargets(AbstractSkill.java:340)
[17:54:22 WARN]: at MythicMobs-5.2.5-4394.jar//io.lumine.mythic.core.skills.AbstractSkill.evaluateTargets(AbstractSkill.java:328)
[17:54:22 WARN]: at MythicMobs-5.2.5-4394.jar//io.lumine.mythic.core.skills.SkillMechanic.executeSkills(SkillMechanic.java:454)
[17:54:22 WARN]: at MythicMobs-5.2.5-4394.jar//io.lumine.mythic.core.skills.SkillMechanic.execute(SkillMechanic.java:418)
[17:54:22 WARN]: at MythicMobs-5.2.5-4394.jar//io.lumine.mythic.core.mobs.MobType.lambda$executeSkills$6(MobType.java:1208)
[17:54:22 WARN]: at MythicMobs-5.2.5-4394.jar//io.lumine.mythic.bukkit.utils.Delegates$RunnableToSupplier.get(Delegates.java:121)
[17:54:22 WARN]: at MythicMobs-5.2.5-4394.jar//io.lumine.mythic.bukkit.utils.promise.LuminePromise$SupplyRunnable.run(LuminePromise.java:654)
[17:54:22 WARN]: at MythicMobs-5.2.5-4394.jar//io.lumine.mythic.bukkit.utils.tasks.LumineExecutors$SchedulerWrappedRunnable.run(LumineExecutors.java:70)
[17:54:22 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[17:54:22 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[17:54:22 WARN]: at java.base/java.lang.Thread.run(Thread.java:833)