mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
In WorldCommModule, replace the useless Attachments == null check with Attachments.Count == 0 instead
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user