== UUID.Zero is slow

This commit is contained in:
UbitUmarov
2022-01-08 23:35:56 +00:00
parent cb98fb309c
commit 357f20eb14
73 changed files with 251 additions and 260 deletions

View File

@@ -1040,7 +1040,7 @@ namespace OpenSim.Region.Framework.Scenes
DeedObjectHandler handler = OnDeedObject;
if (handler != null)
{
if(sog == null || client == null || client.SceneAgent == null || targetGroupID == UUID.Zero)
if(sog == null || client == null || client.SceneAgent == null || targetGroupID.IsZero())
return false;
ScenePresence sp = client.SceneAgent as ScenePresence;