- Joined
- Jul 24, 2022
- Posts
- 550
Did you start a new game after installing the plugin? It should have been initialized on new game.I have a problem wanting to adapt this to my version 21 of essentials, when the contest ends and the tape is received, I get an error on the line 71 aprox
$stats.pokemon_contests_won_total += 1 it says that is not defined, but when i set it to =0 and then =1 it has no problem, how can i fix this to work normally?
It's working after you do = 0 or = 1 because you're initializing it yourself. After that, += would work.
Long story short, just start a new game or save your game after you do that initialization yourself.