mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-25 14:54:48 +02:00
Fixed items not being removed from inventory
This commit is contained in:
parent
1503cecb1a
commit
74d5981c22
@ -99,6 +99,13 @@ Public Class PlayerInventory
|
|||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
Next
|
Next
|
||||||
|
Else
|
||||||
|
For Each c As ItemContainer In Me
|
||||||
|
If c.ItemID = ID Then
|
||||||
|
Me.Remove(c)
|
||||||
|
Exit Sub
|
||||||
|
End If
|
||||||
|
Next
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user