mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
!= UUID.Zero is slow
This commit is contained in:
@@ -527,7 +527,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
|
||||
return;
|
||||
}
|
||||
|
||||
if(itemID != UUID.Zero && ownerID != UUID.Zero)
|
||||
if(!itemID.IsZero() && !ownerID.IsZero())
|
||||
{
|
||||
item = scene.InventoryService.GetItem(ownerID, itemID);
|
||||
if (item != null)
|
||||
|
||||
Reference in New Issue
Block a user