In WorldCommModule, replace the useless Attachments == null check with Attachments.Count == 0 instead
parent
d3c03658aa
commit
8c703022c1
|
@ -316,8 +316,7 @@ namespace OpenSim.Region.CoreModules.Scripting.WorldComm
|
||||||
|
|
||||||
List<SceneObjectGroup> attachments = sp.GetAttachments();
|
List<SceneObjectGroup> attachments = sp.GetAttachments();
|
||||||
|
|
||||||
// Nothing left to do
|
if (attachments.Count == 0)
|
||||||
if (attachments == null)
|
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
// Get uuid of attachments
|
// Get uuid of attachments
|
||||||
|
|
Loading…
Reference in New Issue