Problem with Pixelmon mod-Minecraft Java Server-Mods-Debian 12
by ultimate_kidd from LinuxQuestions.org on (#6K343)
I have started a new Minecraft Java server in Debian 12 (Linux) and downloaded the Pixelmon Mod to go with it. The server itself runs fine, but the Pixelmon mod has a lot of problems. One of the people I know joined the server and every time they try to attack and kill a pokemon, it gives us this error saying that the battle could not be completed and they earned no xp for battling that pokemon
[21:08:07] [Server thread/ERROR] [ne.mi.ev.EventBus/EVENTBUS]: Exception caught during firing event: class com.pixelmonmod.api.parsing.ParseAttempt cannot be cast to class com.pixelmonmod.api.Specification (com.pixelmonmod.api.parsing.ParseAttempt and com.pixelmonmod.api.Specification are in module pixelmon@9.2.3 of loader 'TRANSFORMER' @44ed0a8f)
Index: 1
Listeners:
0: NORMAL
1: ASM: com.pixelmonmod.pixelmon.quests.listeners.EntityListeners@60fa3a61 onKnockout(Lcom/pixelmonmod/pixelmon/api/events/PixelmonKnockoutEvent;)V
2: net.minecraftforge.eventbus.EventBus$$Lambda$4123/0x00007f45e8a23318@739bc85a
java.lang.ClassCastException: class com.pixelmonmod.api.parsing.ParseAttempt cannot be cast to class com.pixelmonmod.api.Specification (com.pixelmonmod.api.parsing.ParseAttempt and com.pixelmonmod.api.Specification are in module pixelmon@9.2.3 of loader 'TRANSFORMER' @44ed0a8f)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.quests.objectives.objectives.entity.PokemonObjective.test(PokemonObjective. java:65)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.quests.objectives.Objective.test(Objective.java:43)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.quests.objectives.Objective.receive(Objective.java:61)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.storage.playerData.QuestData.receiveInternal(QuestData.java:94)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.storage.playerData.QuestData.receive(QuestData.java:110)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.quests.listeners.EntityListeners.onKnockout(EntityListeners.java:99)
at com.pixelmonmod.pixelmon.quests.listeners.__EntityListeners_onKnockout_PixelmonKnockoutEvent.invoke( .dynamic)
at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73)
at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:315)
at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:296)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.doBattleDamage(PixelmonWrap per.java:3201)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.battles.attacks.Attack.executeAttackEffects(Attack.java:890)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.battles.attacks.Attack.useAttackEffects(Attack.java:813)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.battles.attacks.Attack.use(Attack.java:472)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.useAttack(PixelmonWrapper.j ava:1028)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.useAttack(PixelmonWrapper.j ava:950)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.takeTurn(PixelmonWrapper.ja va:1854)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.battles.controller.BattleController.takeTurn(BattleController.java:1370)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.battles.controller.BattleController.update(BattleController.java:575)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:273)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:13)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.battles.__BattleTickHandler_tickStart_LevelTickEvent.invoke(.dynamic)
at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73)
at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:315)
at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:296)
at TRANSFORMER/forge@47.2.0/net.minecraftforge.event.ForgeEventFactory.onPostLevelTick(ForgeEventFactory.java:930)
at TRANSFORMER/minecraft@1.20.1/net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:899)
at TRANSFORMER/minecraft@1.20.1/net.minecraft.server.dedicated.DedicatedServer.m_5703_(DedicatedServer.java:283)
at TRANSFORMER/minecraft@1.20.1/net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:814)
at TRANSFORMER/minecraft@1.20.1/net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:661)
at TRANSFORMER/minecraft@1.20.1/net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:251)
at java.base/java.lang.Thread.run(Thread.java:840)
[21:08:07] [Server thread/ERROR] [co.pi.pi.Pixelmon/]: Caught error in battle. Continuing...
java.lang.ClassCastException: class com.pixelmonmod.api.parsing.ParseAttempt cannot be cast to class com.pixelmonmod.api.Specification (com.pixelmonmod.api.parsing.ParseAttempt and com.pixelmonmod.api.Specification are in module pixelmon@9.2.3 of loader 'TRANSFORMER' @44ed0a8f)
at com.pixelmonmod.pixelmon.quests.objectives.objectives.entity.PokemonObjective.test(PokemonObjective. java:65) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.quests.objectives.Objective.test(Objective.java:43) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.quests.objectives.Objective.receive(Objective.java:61) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.storage.playerData.QuestData.receiveInternal(QuestData.java:94) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.storage.playerData.QuestData.receive(QuestData.java:110) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.quests.listeners.EntityListeners.onKnockout(EntityListeners.java:99) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.quests.listeners.__EntityListeners_onKnockout_PixelmonKnockoutEvent.invoke( .dynamic) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading,pl:eventbus:B}
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) ~[eventbus-6.0.5.jar%2352!/:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.5.jar%2352!/:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.5.jar%2352!/:?] {}
at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.doBattleDamage(PixelmonWrap per.java:3201) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.battles.attacks.Attack.executeAttackEffects(Attack.java:890) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.battles.attacks.Attack.useAttackEffects(Attack.java:813) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.battles.attacks.Attack.use(Attack.java:472) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.useAttack(PixelmonWrapper.j ava:1028) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.useAttack(PixelmonWrapper.j ava:950) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.takeTurn(PixelmonWrapper.ja va:1854) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.battles.controller.BattleController.takeTurn(BattleController.java:1370) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.battles.controller.BattleController.update(BattleController.java:575) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:273) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:13) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.battles.__BattleTickHandler_tickStart_LevelTickEvent.invoke(.dynamic) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading,pl:eventbus:B}
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) ~[eventbus-6.0.5.jar%2352!/:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.5.jar%2352!/:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.5.jar%2352!/:?] {}
at net.minecraftforge.event.ForgeEventFactory.onPostLevelTick(ForgeEventFactory.java:930) ~[forge-1.20.1-47.2.0-universal.jar%23108!/:?] {re:classloading}
at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:899) ~[server-1.20.1-20230612.114412-srg.jar%23103!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.dedicated.DedicatedServer.m_5703_(DedicatedServer.java:283) ~[server-1.20.1-20230612.114412-srg.jar%23103!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:814) ~[server-1.20.1-20230612.114412-srg.jar%23103!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:661) ~[server-1.20.1-20230612.114412-srg.jar%23103!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:251) ~[server-1.20.1-20230612.114412-srg.jar%23103!/:?] {re:classloading,pl:accesstransformer:B}
at java.lang.Thread.run(Thread.java:840) ~[?:?] {}
[21:08:07] [Server thread/ERROR] [co.pi.pi.Pixelmon/]: ===Too many errors detected in battle, force-ending===
I have tried to look up a few different things on Google but couldn't find anything to solve my problem. Does anyone know a fix to this?
[21:08:07] [Server thread/ERROR] [ne.mi.ev.EventBus/EVENTBUS]: Exception caught during firing event: class com.pixelmonmod.api.parsing.ParseAttempt cannot be cast to class com.pixelmonmod.api.Specification (com.pixelmonmod.api.parsing.ParseAttempt and com.pixelmonmod.api.Specification are in module pixelmon@9.2.3 of loader 'TRANSFORMER' @44ed0a8f)
Index: 1
Listeners:
0: NORMAL
1: ASM: com.pixelmonmod.pixelmon.quests.listeners.EntityListeners@60fa3a61 onKnockout(Lcom/pixelmonmod/pixelmon/api/events/PixelmonKnockoutEvent;)V
2: net.minecraftforge.eventbus.EventBus$$Lambda$4123/0x00007f45e8a23318@739bc85a
java.lang.ClassCastException: class com.pixelmonmod.api.parsing.ParseAttempt cannot be cast to class com.pixelmonmod.api.Specification (com.pixelmonmod.api.parsing.ParseAttempt and com.pixelmonmod.api.Specification are in module pixelmon@9.2.3 of loader 'TRANSFORMER' @44ed0a8f)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.quests.objectives.objectives.entity.PokemonObjective.test(PokemonObjective. java:65)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.quests.objectives.Objective.test(Objective.java:43)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.quests.objectives.Objective.receive(Objective.java:61)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.storage.playerData.QuestData.receiveInternal(QuestData.java:94)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.storage.playerData.QuestData.receive(QuestData.java:110)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.quests.listeners.EntityListeners.onKnockout(EntityListeners.java:99)
at com.pixelmonmod.pixelmon.quests.listeners.__EntityListeners_onKnockout_PixelmonKnockoutEvent.invoke( .dynamic)
at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73)
at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:315)
at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:296)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.doBattleDamage(PixelmonWrap per.java:3201)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.battles.attacks.Attack.executeAttackEffects(Attack.java:890)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.battles.attacks.Attack.useAttackEffects(Attack.java:813)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.battles.attacks.Attack.use(Attack.java:472)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.useAttack(PixelmonWrapper.j ava:1028)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.useAttack(PixelmonWrapper.j ava:950)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.takeTurn(PixelmonWrapper.ja va:1854)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.battles.controller.BattleController.takeTurn(BattleController.java:1370)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.battles.controller.BattleController.update(BattleController.java:575)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:273)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:13)
at TRANSFORMER/pixelmon@9.2.3/com.pixelmonmod.pixelmon.battles.__BattleTickHandler_tickStart_LevelTickEvent.invoke(.dynamic)
at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73)
at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:315)
at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:296)
at TRANSFORMER/forge@47.2.0/net.minecraftforge.event.ForgeEventFactory.onPostLevelTick(ForgeEventFactory.java:930)
at TRANSFORMER/minecraft@1.20.1/net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:899)
at TRANSFORMER/minecraft@1.20.1/net.minecraft.server.dedicated.DedicatedServer.m_5703_(DedicatedServer.java:283)
at TRANSFORMER/minecraft@1.20.1/net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:814)
at TRANSFORMER/minecraft@1.20.1/net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:661)
at TRANSFORMER/minecraft@1.20.1/net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:251)
at java.base/java.lang.Thread.run(Thread.java:840)
[21:08:07] [Server thread/ERROR] [co.pi.pi.Pixelmon/]: Caught error in battle. Continuing...
java.lang.ClassCastException: class com.pixelmonmod.api.parsing.ParseAttempt cannot be cast to class com.pixelmonmod.api.Specification (com.pixelmonmod.api.parsing.ParseAttempt and com.pixelmonmod.api.Specification are in module pixelmon@9.2.3 of loader 'TRANSFORMER' @44ed0a8f)
at com.pixelmonmod.pixelmon.quests.objectives.objectives.entity.PokemonObjective.test(PokemonObjective. java:65) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.quests.objectives.Objective.test(Objective.java:43) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.quests.objectives.Objective.receive(Objective.java:61) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.storage.playerData.QuestData.receiveInternal(QuestData.java:94) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.storage.playerData.QuestData.receive(QuestData.java:110) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.quests.listeners.EntityListeners.onKnockout(EntityListeners.java:99) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.quests.listeners.__EntityListeners_onKnockout_PixelmonKnockoutEvent.invoke( .dynamic) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading,pl:eventbus:B}
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) ~[eventbus-6.0.5.jar%2352!/:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.5.jar%2352!/:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.5.jar%2352!/:?] {}
at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.doBattleDamage(PixelmonWrap per.java:3201) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.battles.attacks.Attack.executeAttackEffects(Attack.java:890) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.battles.attacks.Attack.useAttackEffects(Attack.java:813) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.battles.attacks.Attack.use(Attack.java:472) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.useAttack(PixelmonWrapper.j ava:1028) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.useAttack(PixelmonWrapper.j ava:950) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.takeTurn(PixelmonWrapper.ja va:1854) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.battles.controller.BattleController.takeTurn(BattleController.java:1370) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.battles.controller.BattleController.update(BattleController.java:575) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:273) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:13) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading}
at com.pixelmonmod.pixelmon.battles.__BattleTickHandler_tickStart_LevelTickEvent.invoke(.dynamic) ~[Pixelmon-1.20.1-9.2.3-universal.jar%23101!/:9.2.3-pipe21439] {re:classloading,pl:eventbus:B}
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) ~[eventbus-6.0.5.jar%2352!/:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.5.jar%2352!/:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.5.jar%2352!/:?] {}
at net.minecraftforge.event.ForgeEventFactory.onPostLevelTick(ForgeEventFactory.java:930) ~[forge-1.20.1-47.2.0-universal.jar%23108!/:?] {re:classloading}
at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:899) ~[server-1.20.1-20230612.114412-srg.jar%23103!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.dedicated.DedicatedServer.m_5703_(DedicatedServer.java:283) ~[server-1.20.1-20230612.114412-srg.jar%23103!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:814) ~[server-1.20.1-20230612.114412-srg.jar%23103!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:661) ~[server-1.20.1-20230612.114412-srg.jar%23103!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:251) ~[server-1.20.1-20230612.114412-srg.jar%23103!/:?] {re:classloading,pl:accesstransformer:B}
at java.lang.Thread.run(Thread.java:840) ~[?:?] {}
[21:08:07] [Server thread/ERROR] [co.pi.pi.Pixelmon/]: ===Too many errors detected in battle, force-ending===
I have tried to look up a few different things on Google but couldn't find anything to solve my problem. Does anyone know a fix to this?