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();
|
||||
|
||||
// Nothing left to do
|
||||
if (attachments == null)
|
||||
if (attachments.Count == 0)
|
||||
return true;
|
||||
|
||||
// Get uuid of attachments
|
||||
|
|
Loading…
Reference in New Issue