diff --git a/P3D/Player/PlayerInventory.vb b/P3D/Player/PlayerInventory.vb index 117c4eed1..64cfb4ad7 100644 --- a/P3D/Player/PlayerInventory.vb +++ b/P3D/Player/PlayerInventory.vb @@ -170,7 +170,7 @@ Public Class PlayerInventory Public Function GetMessageReceive(ByVal Item As Item, ByVal Amount As Integer) As String Dim Message As String If Amount = 1 Then - Message = Localization.GetString("item_stored_in_pocket_single_start", " stored it in the~").Replace("", Core.Player.Name) & Core.Player.Inventory.GetItemPocketChar(Item) & Item.ItemType.ToString() & " " & Localization.GetString("item_stored_in_pocket_single_end", "pocket.").Replace("", Core.Player.Name) + Message = Localization.GetString("item_stored_in_pocket_single_start", " stored it in the~").Replace("", Core.Player.Name) & " " & Core.Player.Inventory.GetItemPocketChar(Item) & Item.ItemType.ToString() & " " & Localization.GetString("item_stored_in_pocket_single_end", "pocket.").Replace("", Core.Player.Name) Else Message = Localization.GetString("item_stored_in_pocket_multiple_start", " stored them~in the").Replace("", Core.Player.Name) & " " & Core.Player.Inventory.GetItemPocketChar(Item) & Item.ItemType.ToString() & " " & Localization.GetString("item_stored_in_pocket_multiple_end", "pocket.").Replace("", Core.Player.Name) End If diff --git a/P3D/World/ActionScript/V2/ScriptCommands/DoItem.vb b/P3D/World/ActionScript/V2/ScriptCommands/DoItem.vb index 6ce0107e3..fb8977034 100644 --- a/P3D/World/ActionScript/V2/ScriptCommands/DoItem.vb +++ b/P3D/World/ActionScript/V2/ScriptCommands/DoItem.vb @@ -110,7 +110,7 @@ Dim Amount As Integer = int(argument.GetSplit(1)) If Not item Is Nothing Then - Dim receiveString As String = Localization.GetString("item_received_single", "Received the~" & item.Name & ".*") + Dim receiveString As String = Localization.GetString("item_received_single", "Received the~") & item.Name & ".*" If Amount > 1 Then receiveString = Localization.GetString("item_received_multiple", "Received") & " " & Amount & "~" & item.PluralName & ".*" End If