mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-31 01:35:20 +02:00
Fixed warning in one of the DoInventory constructs
This commit is contained in:
parent
6362fb871a
commit
893c8acd99
@ -27,7 +27,7 @@
|
|||||||
If argument.Contains(",") Then
|
If argument.Contains(",") Then
|
||||||
Select Case argument.GetSplit(1).ToLower()
|
Select Case argument.GetSplit(1).ToLower()
|
||||||
Case "p", "plural"
|
Case "p", "plural"
|
||||||
Return Item.GetItemByID(ItemID).PluralName
|
Return Item.GetItemByID(int(ItemID)).PluralName
|
||||||
Case "s", "singular"
|
Case "s", "singular"
|
||||||
Return Item.GetItemByID(int(ItemID)).Name
|
Return Item.GetItemByID(int(ItemID)).Name
|
||||||
End Select
|
End Select
|
||||||
|
Loading…
x
Reference in New Issue
Block a user