Fix Covet crash

This commit is contained in:
JappaWakka 2024-03-07 10:44:08 +01:00
parent aeb1a1829d
commit 6685465b90
1 changed files with 3 additions and 3 deletions

View File

@ -88,10 +88,10 @@ Namespace BattleSystem.Moves.Normal
If p.Item Is Nothing Then
Dim ItemID As String
If p.Item.IsGameModeItem = True Then
ItemID = p.Item.gmID
If op.Item.IsGameModeItem = True Then
ItemID = op.Item.gmID
Else
ItemID = p.Item.ID.ToString
ItemID = op.Item.ID.ToString
End If
op.OriginalItem = Item.GetItemByID(ItemID)