mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 04:05:42 +08:00
Fix some warnings under mono.
This commit is contained in:
@@ -162,7 +162,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
public bool AddInventoryItem(IClientAPI remoteClient, uint localID,
|
||||
InventoryItemBase item, LLUUID copyItemID)
|
||||
{
|
||||
LLUUID newItemId = ((copyItemID != null) ? copyItemID : item.inventoryID);
|
||||
LLUUID newItemId = (!copyItemID.Equals(null)) ? copyItemID : item.inventoryID;
|
||||
|
||||
SceneObjectPart part = GetChildPart(localID);
|
||||
if (part != null)
|
||||
|
||||
Reference in New Issue
Block a user