From 893c8acd993a3649b6b1e00e535631babb6b93c4 Mon Sep 17 00:00:00 2001 From: JappaWakka Date: Sun, 27 Feb 2022 16:40:10 +0100 Subject: [PATCH] Fixed warning in one of the DoInventory constructs --- P3D/World/ActionScript/V2/ScriptConstructs/DoInventory.vb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/P3D/World/ActionScript/V2/ScriptConstructs/DoInventory.vb b/P3D/World/ActionScript/V2/ScriptConstructs/DoInventory.vb index 040cbcab2..5a92ebf6e 100644 --- a/P3D/World/ActionScript/V2/ScriptConstructs/DoInventory.vb +++ b/P3D/World/ActionScript/V2/ScriptConstructs/DoInventory.vb @@ -27,7 +27,7 @@ If argument.Contains(",") Then Select Case argument.GetSplit(1).ToLower() Case "p", "plural" - Return Item.GetItemByID(ItemID).PluralName + Return Item.GetItemByID(int(ItemID)).PluralName Case "s", "singular" Return Item.GetItemByID(int(ItemID)).Name End Select