From 8532fd6169845116a5a5971a5cf5b57a82454a76 Mon Sep 17 00:00:00 2001 From: JappaWakka Date: Thu, 7 Mar 2024 12:11:09 +0100 Subject: [PATCH] Fix Thief crash --- P3D/Pokemon/Attacks/Dark/Thief.vb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/P3D/Pokemon/Attacks/Dark/Thief.vb b/P3D/Pokemon/Attacks/Dark/Thief.vb index 017cc55a9..f81ebb7bf 100644 --- a/P3D/Pokemon/Attacks/Dark/Thief.vb +++ b/P3D/Pokemon/Attacks/Dark/Thief.vb @@ -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)