mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 03:15:41 +08:00
fix old bug just ported to new function
This commit is contained in:
@@ -12779,8 +12779,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
TaskInventoryItem item = m_host.Inventory.GetInventoryItem(itemName);
|
||||
if (item is null)
|
||||
{
|
||||
Error("llGetInventoryCreator", "Can't find item '" + item + "'");
|
||||
|
||||
Error("llGetInventoryCreator", $"Can't find item '{itemName}'");
|
||||
return String.Empty;
|
||||
}
|
||||
|
||||
@@ -12793,7 +12792,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
TaskInventoryItem item = m_host.Inventory.GetInventoryItem(itemName);
|
||||
if (item is null)
|
||||
{
|
||||
Error("llGetInventoryAcquireTime", "Can't find item '" + item + "'");
|
||||
Error("llGetInventoryAcquireTime", $"Can't find item '{itemName}'");
|
||||
return String.Empty;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user