Pixelmon Mod - Bug tracker

[8.3.6] Battle Error: checkPokemon Emboar Switch fix completed

Ticket description:
Battle data 2021-12-25T11:57:20.295Z
Team #0 Player Chartver
Greninja com.pixelmonmod.pixelmon.entities.pixelmon.abilities.Torrent@1f7130f0 [Lcom.pixelmonmod.pixelmon.battles.attacks.Attack;@5ebd0ed5
Snorlax com.pixelmonmod.pixelmon.entities.pixelmon.abilities.Immunity@e5e1996c [Lcom.pixelmonmod.pixelmon.battles.attacks.Attack;@28ca6c2
Golurk com.pixelmonmod.pixelmon.entities.pixelmon.abilities.IronFist@f1559f6c [Lcom.pixelmonmod.pixelmon.battles.attacks.Attack;@6d7d4729
Bisharp com.pixelmonmod.pixelmon.entities.pixelmon.abilities.Defiant@bf4fc643 [Lcom.pixelmonmod.pixelmon.battles.attacks.Attack;@3f0c45b
Golem com.pixelmonmod.pixelmon.entities.pixelmon.abilities.RockHead@e4e9eb05 [Lcom.pixelmonmod.pixelmon.battles.attacks.Attack;@358db956
Lucario com.pixelmonmod.pixelmon.entities.pixelmon.abilities.InnerFocus@a6867842 [Lcom.pixelmonmod.pixelmon.battles.attacks.Attack;@5250b393
Team #1 Player Chartmat
Haxorus com.pixelmonmod.pixelmon.entities.pixelmon.abilities.Rivalry@ab986531 [Lcom.pixelmonmod.pixelmon.battles.attacks.Attack;@5593f2ff
Braviary com.pixelmonmod.pixelmon.entities.pixelmon.abilities.KeenEye@318f2b8e [Lcom.pixelmonmod.pixelmon.battles.attacks.Attack;@5044260a
Golurk com.pixelmonmod.pixelmon.entities.pixelmon.abilities.Klutz@453c09a [Lcom.pixelmonmod.pixelmon.battles.attacks.Attack;@85b725d
Emboar com.pixelmonmod.pixelmon.entities.pixelmon.abilities.Blaze@3d4a2a2 [Lcom.pixelmonmod.pixelmon.battles.attacks.Attack;@5f4084ee
Charizard com.pixelmonmod.pixelmon.entities.pixelmon.abilities.Blaze@3d4a2a2 [Lcom.pixelmonmod.pixelmon.battles.attacks.Attack;@150e81f3
Luxray com.pixelmonmod.pixelmon.entities.pixelmon.abilities.Rivalry@ab986531 [Lcom.pixelmonmod.pixelmon.battles.attacks.Attack;@648b812e
Turn #0
- Player Chartver pokemon=Greninja, action=ATTACK, attack=AttackBase{attackIndex=103, attackName='Hydro Pump'}, results=[MoveResults{damage=199, fullDamage=199, accuracy=0, priority=0.0, result=hit, weightMod=0.0}]
- Player Chartmat pokemon=Haxorus, action=ATTACK, attack=AttackBase{attackIndex=10006, attackName='Max Wyrmwind'}, results=[MoveResults{damage=278, fullDamage=279, accuracy=0, priority=0.0, result=succeeded, weightMod=0.0}]
- Player Chartmat pokemon=Braviary, action=ATTACK, attack=AttackBase{attackIndex=342, attackName='Superpower'}, results=[MoveResults{damage=386, fullDamage=491, accuracy=0, priority=0.0, result=succeeded, weightMod=0.0}]
Turn #1
- Player Chartmat pokemon=Haxorus, action=SWITCH, switchingTo=a30e7df0-dc93-4026-8bfb-c1c881e446a4
- Player Chartver pokemon=Bisharp, action=SWITCH, switchingTo=40601390-cbd4-4b2f-acf3-78054e1e2d89
- Player Chartver pokemon=Bisharp, action=ATTACK, attack=AttackBase{attackIndex=434, attackName='Night Slash'}, results=[MoveResults{damage=141, fullDamage=290, accuracy=0, priority=6.0, result=killed, weightMod=0.0}]
Turn #2
- Player Chartmat pokemon=Emboar, action=ATTACK, attack=AttackBase{attackIndex=478, attackName='Head Smash'}, results=[MoveResults{damage=94, fullDamage=94, accuracy=0, priority=0.0, result=hit, weightMod=0.0}]
- Player Chartver pokemon=Bisharp, action=ATTACK, attack=AttackBase{attackIndex=434, attackName='Night Slash'}, results=[MoveResults{damage=285, fullDamage=285, accuracy=0, priority=0.0, result=hit, weightMod=0.0}]
- Player Chartmat pokemon=Luxray, action=ATTACK, attack=AttackBase{attackIndex=263, attackName='Wild Charge'}, results=[MoveResults{damage=0, fullDamage=0, accuracy=0, priority=0.0, result=failed, weightMod=0.0}]
- Player Chartver pokemon=Golem, action=ATTACK, attack=AttackBase{attackIndex=58, attackName='Earthquake'}, results=[MoveResults{damage=243, fullDamage=243, accuracy=0, priority=0.0, result=hit, weightMod=0.0}, MoveResults{damage=173, fullDamage=186, accuracy=0, priority=0.0, result=killed, weightMod=0.0}, MoveResults{damage=12, fullDamage=223, accuracy=0, priority=0.0, result=killed, weightMod=0.0}]
Turn #3
- Player Chartmat pokemon=Emboar, action=SWITCH, switchingTo=d76e19d1-765b-486e-b340-481b9ceeaf5c
Caught error in battle. Continuing...
null
com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.checkPokemon(BattleControllerBase.java:1340)
com.pixelmonmod.pixelmon.battles.controller.BattleControllerBase.update(BattleControllerBase.java:518)
com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:252)
com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:17)
net.minecraftforge.fml.common.eventhandler.ASMEventHandler_463_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic)
net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
net.minecraftforge.fml.common.eventhandler.EventBus.forgeBridge$post(EventBus.java:756)
net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:706)
net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:274)
net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:776)
net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397)
net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)
net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
java.lang.Thread.run(Thread.java:748)

Comments

#24182 Posted by SirDoof » 04 Jan 2022 22:40

Thanks!
Grouped to this ticket:
tracker.php?p=2&t=16920

#24201 Posted by Fig » 09 Jan 2022 16:13

Moved to internal!

Ticket details

  • Ticket ID: 16931
  • Project: Pixelmon Mod
  • Status: Fix completed
  • Component: Battle
  • Project version: 1.12.2-8.x.x
  • Priority: Normal
  • Severity: Normal
  • Forge/Sponge: 2860
  • What else would be useful to know?: (unknown)
  • Assigned to: (unassigned)
  • Reported by: Rasgnarok (Send PM)
  • Reporter's tickets: (List all tickets)
  • Reported on: 27 Dec 2021 20:31
  • Ticket last visited by: Katzyn on 18 Apr 2022 04:02
JOIN THE TEAM