[BUG] Raytrace mechanic in Aura returns error and does not work
Whenever you try to put a raytrace mechanic in an Aura of any kind (orbital, ondamaged, etc) it will not work and return this error:
[22:19:13 WARN]: [MythicMobs] Couldn't execute skill 'test-beam-fire': Enable debugging for a stack trace.
[22:19:13 ERROR]: Thread Craft Scheduler Thread - 1499 - MythicMobs failed main thread check: getNearbyEntities
java.lang.Throwable: null
at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:15) ~[paper-1.20.1.jar:git-Paper-161]
at org.bukkit.craftbukkit.v1_20_R1.CraftWorld.getNearbyEntities(CraftWorld.java:1087) ~[paper-1.20.1.jar:git-Paper-161]
at org.bukkit.craftbukkit.v1_20_R1.CraftWorld.rayTraceEntities(CraftWorld.java:1137) ~[paper-1.20.1.jar:git-Paper-161]
at io.lumine.mythic.core.volatilecode.v1_20_R1.VolatileWorldHandlerImpl.rayTrace(VolatileWorldHandlerImpl.java:343) ~[MythicMobs-5.4.0-SNAPSHOT (8).jar:?]
at io.lumine.mythic.core.skills.mechanics.RaytraceMechanic.cast(RaytraceMechanic.java:156) ~[MythicMobs-5.4.0-SNAPSHOT (8).jar:?]
at io.lumine.mythic.core.skills.SkillMechanic.executeSkills(SkillMechanic.java:479) ~[MythicMobs-5.4.0-SNAPSHOT (8).jar:?]
at io.lumine.mythic.core.skills.SkillMechanic.execute(SkillMechanic.java:425) ~[MythicMobs-5.4.0-SNAPSHOT (8).jar:?]
at io.lumine.mythic.core.skills.MetaSkill.execute(MetaSkill.java:297) ~[MythicMobs-5.4.0-SNAPSHOT (8).jar:?]
at io.lumine.mythic.core.skills.MetaSkill.execute(MetaSkill.java:271) ~[MythicMobs-5.4.0-SNAPSHOT (8).jar:?]
at io.lumine.mythic.core.skills.auras.Aura$AuraTracker.executeAuraSkill(Aura.java:382) ~[MythicMobs-5.4.0-SNAPSHOT (8).jar:?]
at io.lumine.mythic.core.skills.auras.Aura$AuraTracker.executeAuraSkill(Aura.java:347) ~[MythicMobs-5.4.0-SNAPSHOT (8).jar:?]
at io.lumine.mythic.core.skills.auras.Aura$AuraTracker.auraTick(Aura.java:565) ~[MythicMobs-5.4.0-SNAPSHOT (8).jar:?]
at io.lumine.mythic.core.skills.auras.Aura$AuraTracker.run(Aura.java:546) ~[MythicMobs-5.4.0-SNAPSHOT (8).jar:?]
at io.lumine.mythic.bukkit.utils.Delegates$RunnableToConsumer.accept(Delegates.java:93) ~[MythicMobs-5.4.0-SNAPSHOT (8).jar:?]
at io.lumine.mythic.bukkit.utils.Schedulers$LumineTask.run(Schedulers.java:184) ~[MythicMobs-5.4.0-SNAPSHOT (8).jar:?]
at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.20.1.jar:git-Paper-161]
at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[paper-1.20.1.jar:git-Paper-161]
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:833) ~[?:?]
[22:19:13 WARN]: [MythicMobs] Couldn't execute skill 'test-beam-fire': Enable debugging for a stack trace.
To replicate, simple example:
test-beam-cast:
Skills:
- aura{d=20;i=4;ot=test-beam-fire} @self
test-beam-fire:
Skills:
- raytrace{fo=true;md=<skill.range|64>;rw=0.25;
locationskill=[ - e:p{p=FLAME;a=8;speed=0.7} ]} @targetlocation
Intended behavior: Flame particles at the raytrace hit location. What actually happens: Nothing, error.