Fix Thief crash

This commit is contained in:
JappaWakka 2024-03-07 12:11:09 +01:00
parent 8dd81c6dc1
commit 8532fd6169
1 changed files with 3 additions and 3 deletions

View File

@ -85,10 +85,10 @@
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)