[AkitaStrike] Plugin AkitaStrike v1.0.5 产生了异常 while executing task 4547
java.lang.IllegalStateException: CreatureSpawnEvent may only be triggered synchronously.
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:580) ~[forge:?]
at org.bukkit.craftbukkit.v1_16_R3.event.CraftEventFactory.callCreatureSpawnEvent(CraftEventFactory.java:657) ~[forge:?]
at org.bukkit.craftbukkit.v1_16_R3.event.CraftEventFactory.doEntityAddEventCalling(CraftEventFactory.java:591) ~[forge:?]
at net.minecraft.world.server.ServerWorld.addEntity0(ServerWorld.java:1030) ~[?:?]
at net.minecraft.world.server.ServerWorld.func_217376_c(ServerWorld.java:958) ~[?:?]
at com.pixelmonmod.pixelmon.api.pokemon.Pokemon.getOrSpawnPixelmon(Pokemon.java:263) ~[pixelmon:1.16.5-9.1.11]
at com.pixelmonmod.pixelmon.api.pokemon.Pokemon.getOrSpawnPixelmon(Pokemon.java:281) ~[pixelmon:1.16.5-9.1.11]
at com.pixelmonmod.pixelmon.api.storage.PartyStorage.getAndSendOutFirstAblePokemon(PartyStorage.java:488) ~[pixelmon:1.16.5-9.1.11]
at Akita.strike.task.任务Strike.run(Unknown Source) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.Craft任务.run(CraftTask.java:90) ~[forge:?]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftAsync任务.run(CraftAsyncTask.java:54) ~[forge:?]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:20) ~[forge:?]
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) ~[?:?]