[Pokémon Essentials version 20.1]
[v20.1 Hotfixes 1.0.7]
Script error in event 70 (coords 9,35), map 146 (Gimnasio de Sorrento Ortega)
Exception: NoMethodError
Message: undefined method `each' for nil:NilClass
***Full script:
pbReceiveItem(:WATERIUMZ)
Backtrace:
256:PokemonBag:274:in `quantity'
256:PokemonBag:68:in `quantity'
256:PokemonBag:72:in `has?'
[ZUD Mechanics] Data_Item.rb:87:in `add'
227:Overworld:800:in `pbReceiveItem'
(eval):1:in `execute_script'
033:Interpreter:143:in `eval'
033:Interpreter:143:in `execute_script'
034:Interpreter_Commands:1112:in `command_355'
034:Interpreter_Commands:116:in `execute_command'
When trying to give the player any Z crystal (WateriumZ for example), that's the message that appears. I would greatly appreciate it if you could help me. Great work.