mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
== UUID.Zero is slow
This commit is contained in:
@@ -278,7 +278,6 @@ namespace OpenSim.Region.CoreModules.Scripting.WorldComm
|
||||
m_listenerManager.DeleteListener(itemID);
|
||||
}
|
||||
|
||||
|
||||
protected static Vector3 CenterOfRegion = new Vector3(128, 128, 20);
|
||||
|
||||
public void DeliverMessage(ChatTypeEnum type, int channel, string name, UUID id, string msg)
|
||||
@@ -387,7 +386,7 @@ namespace OpenSim.Region.CoreModules.Scripting.WorldComm
|
||||
if (channel == DEBUG_CHANNEL)
|
||||
return;
|
||||
|
||||
if(target == UUID.Zero)
|
||||
if(target.IsZero())
|
||||
return;
|
||||
|
||||
// Is target an avatar?
|
||||
|
||||
Reference in New Issue
Block a user