I tried adding the plugin and when I chose a move, it shows this error, then seemingly passed the turn without using any moves.
edit: The battle is using a Essentials DX wild battle with a rule set to prevent running, then in a test with a normal wild battle, my pokemon acted its turn and then...
When I chose a move in a battle against a trainer with permanent Psychic Terrain and set battle style rule true, this error happens:
It happens after I updated to version 0.7
I have encountered a problem with the move Defog, and I found the reason being the part of code in Quark Drive, the variable "allBattlers" is undefined. So I added @battle. in front of it and it seemed to fix it.
# Update for Quark Drive...