mirror of
https://github.com/opensim/opensim.git
synced 2026-08-13 05:05:43 +08:00
minor cosmetics
This commit is contained in:
@@ -12730,8 +12730,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
TaskInventoryItem item = m_host.Inventory.GetInventoryItem(itemName);
|
TaskInventoryItem item = m_host.Inventory.GetInventoryItem(itemName);
|
||||||
|
if (item is not null)
|
||||||
if (item != null)
|
|
||||||
{
|
{
|
||||||
if (mask != ScriptBaseClass.MASK_BASE)
|
if (mask != ScriptBaseClass.MASK_BASE)
|
||||||
{
|
{
|
||||||
@@ -12778,8 +12777,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||||||
{
|
{
|
||||||
|
|
||||||
TaskInventoryItem item = m_host.Inventory.GetInventoryItem(itemName);
|
TaskInventoryItem item = m_host.Inventory.GetInventoryItem(itemName);
|
||||||
|
if (item is null)
|
||||||
if (item == null)
|
|
||||||
{
|
{
|
||||||
Error("llGetInventoryCreator", "Can't find item '" + item + "'");
|
Error("llGetInventoryCreator", "Can't find item '" + item + "'");
|
||||||
|
|
||||||
@@ -12793,8 +12791,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||||||
{
|
{
|
||||||
|
|
||||||
TaskInventoryItem item = m_host.Inventory.GetInventoryItem(itemName);
|
TaskInventoryItem item = m_host.Inventory.GetInventoryItem(itemName);
|
||||||
|
if (item is null)
|
||||||
if (item == null)
|
|
||||||
{
|
{
|
||||||
Error("llGetInventoryAcquireTime", "Can't find item '" + item + "'");
|
Error("llGetInventoryAcquireTime", "Can't find item '" + item + "'");
|
||||||
return String.Empty;
|
return String.Empty;
|
||||||
|
|||||||
Reference in New Issue
Block a user