Hello!
When I defeat an enemy with the effect of the "Enter hand: Skill" skill in the draw at the start of a battle and end the battle, I get an error.
"TypeError Cannot read property 'item' of undefined"
It may also be that I draw multiple cards that specify "Enter hand: Skill" and there is a skill card with "Enter hand: Skill" even though there is no enemy, which causes the error.
This is PRG Maker MZ. Version 1.8.1.
Memo field (the skill ID called the skill itself):
<Card Type: Magic>
<Card Passives>
Enter hand: Skill 159
</Card Passives>
<Card Price: 100>
<Max Copies: 100>
<Deck Cost: 1>