When I complete a Max Raid Battle it says this error
[Pokémon Essentials version 20.1]
[v20.1 Hotfixes 1.0.7]
Script error in event 8 (coords 16,25), map 297 (Dynamax Field)
Exception: NoMethodError
Message: undefined method `<' for nil:NilClass
***Full script:
pbMaxRaidDen([nil, :Urban], {:loot =>
[:POISONBARB]}, {:gmaxfactor => true,
:obtaintext => "a Max Raid Den"})
Backtrace:
256:PokemonBag:297:in `add'
256:PokemonBag:93:in `add'
[ZUD Mechanics] Data_Item.rb:88:in `add'
[ZUD Mechanics] Raid_Den_Scene.rb:437:in `block in pbRaidRewardsScreen'
[ZUD Mechanics] Raid_Den_Scene.rb:431:in `each'
[ZUD Mechanics] Raid_Den_Scene.rb:431:in `pbRaidRewardsScreen'
[ZUD Mechanics] Raid_Den_Scene.rb:306:in `block in pbMaxRaidEntry'
[ZUD Mechanics] Raid_Den_Scene.rb:263:in `loop'
[ZUD Mechanics] Raid_Den_Scene.rb:263:in `pbMaxRaidEntry'
[ZUD Mechanics] Raid_Den_Scene.rb:254:in `pbStartScene'