Merge branch 'GDWR/capture_poke_sprite_bug' into 'main'

Update state on client side when capture fails

Closes #188

See merge request cable-mc/cobblemon!391
This commit is contained in:
Licious committed 2023-03-25 22:03:37 +00:00
commit ebeebeeee7
2 files changed
+2

No files matched your search

+1
View File
@@ -44,6 +44,7 @@
- Fixed a Pokémon duplication glitch when teleporting between worlds.
- Fixed dedicated servers being able to reload Cobblemon data with the vanilla ``/reload`` command causing unintended behavior for clients.
- Fixed underground Pokémon spawning above ground.
- Fixed Pokémon portrait not reverting back to the Pokémon after a failed capture during battle.
### Developer
- Add events that are being fired just before and after a Pokémon is being released (ReleasePokemonEvent)
@@ -24,5 +24,6 @@ object BattleCaptureEndHandler : ClientPacketHandler<BattleCaptureEndPacket> {
} else {
activeBattlePokemon.ballCapturing?.finish()
}
activeBattlePokemon.ballCapturing = null
}
}