I used to have the previous version of this installed, but when I tried updating it to add all the ZA megas, somethings like broken or something, cause every time I enter a wild battle or trainer battle, essentials just crashes. Here's a copy of the error I keep getting(also, this issue only started occuring after I made only a slight modification to the pbs file titled Pokemon_forms_gen_9.txt)
"[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]
Exception: NoMethodError
Message: undefined method `each' for nil:NilClass
Backtrace:
Player_Pokedex:107:in `seen_any?'
Player_Pokedex:328:in `block in refresh_accessible_dexes'
Player_Pokedex:326:in `times'
Player_Pokedex:326:in `refresh_accessible_dexes'
Player_Pokedex:218:in `register'
Battle:661:in `pbSetSeen'
Battle_StartAndEnd:129:in `block (2 levels) in pbSetUpSides'
Battle_StartAndEnd:125:in `each'
Battle_StartAndEnd:125:in `each_with_index'
Battle_StartAndEnd:125:in `block in pbSetUpSides'
"
I entered everything properly. Can anyone help me out? This error still keeps popping up even after I undid the changes I made and even redownload a new PBS file to replace the old one and it still doesn't work.