mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Fixed some comparisons of LLUUIDs to null.
Thanks to DrSchofld for pointing this out.
This commit is contained in:
@@ -178,8 +178,8 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
public bool AddInventoryItem(IClientAPI remoteClient, uint localID,
|
||||
InventoryItemBase item, LLUUID copyItemID)
|
||||
{
|
||||
LLUUID newItemId = (!copyItemID.Equals(null)) ? copyItemID : item.inventoryID;
|
||||
|
||||
LLUUID newItemId = (copyItemID != LLUUID.Zero) ? copyItemID : item.inventoryID;
|
||||
|
||||
SceneObjectPart part = GetChildPart(localID);
|
||||
if (part != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user