- Fixed win/loss commands causing an error on Mohist.
- @p and @s will now target the player in win/loss commands (%player% also still works).
- Fixed battle error when trainer uses a recharge move.
- Fixed custom Pokémon types causing trainer AI to crash. AI will now assume neutral damage whenever custom types are involved.
- Added "Edit team order" screen in setup menu.
- Added Gender edit button in setup menu.
- Made setup menu item names not be in italics.
- Made running just "/trainers battle" open a trainer battle select menu.
- Added form selection when adding new Pokémon, and forms will be preserved when using addpokemon and addfromparty.
- Prevented starting a battle with a trainer that has no Pokémon.
- Fixed commands being unusable on singleplayer.
- Fixed trainer using a ditto causing a battle error.
- Fixed trainer attempting to switch to a Pokémon it has previously switched to causing a battle error.
- Fixed error on player respawn in some cases when using LuckPerms Forge.
- Added trainer defeat requirements, so certain trainers can only be battled if the player has already defeated certain other trainers.
- /trainers adddefeatrequirement <trainer> <defeatRequirement>
- /trainers removedefeatrequirement <trainer> <defeatRequirement>
- Added /trainers resetwintracker <player> <trainer>
- Fixed /trainers reload being unavailable after file loading fails.
- Fixed /trainers reload not re-enabling commands when file loading succeeds.
- Made /trainers reload report whether loading succeeded or failed.
- Fixed invalid trainer files being cleared of all data.
- Fixed %player% being replaced with server-altered names instead of the player's true username