mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 14:16:07 +08:00
minor cleanup
This commit is contained in:
@@ -14993,11 +14993,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
if (!UUID.TryParse(name, out UUID assetID))
|
||||
{
|
||||
TaskInventoryItem item = m_host.Inventory.GetInventoryItem(name, 7);
|
||||
|
||||
|
||||
if (item is null)
|
||||
{
|
||||
Error("llGetNotecardLineSync", "Can't find notecard '" + name + "'");
|
||||
|
||||
return ScriptBaseClass.NAK;
|
||||
}
|
||||
assetID = item.AssetID;
|
||||
|
||||
Reference in New Issue
Block a user