diff --git a/LibreMetaverse/AvatarManager.cs b/LibreMetaverse/AvatarManager.cs
index 17541ea5..660cfcb5 100644
--- a/LibreMetaverse/AvatarManager.cs
+++ b/LibreMetaverse/AvatarManager.cs
@@ -240,10 +240,7 @@ namespace OpenMetaverse
{
lock (m_AvatarAppearanceLock)
{
- if (m_AvatarAppearance != null)
- {
- m_AvatarAppearance(this, args);
- }
+ m_AvatarAppearance?.Invoke(this, args);
}
}
diff --git a/LibreMetaverse/SoundManager.cs b/LibreMetaverse/SoundManager.cs
index 70559112..6742a9a8 100644
--- a/LibreMetaverse/SoundManager.cs
+++ b/LibreMetaverse/SoundManager.cs
@@ -442,23 +442,6 @@ namespace OpenMetaverse
}
}
- /// Provides data for the event
- /// The event occurs when the simulator sends
- /// the appearance data for an avatar
- ///
- /// The following code example uses the and
- /// properties to display the selected shape of an avatar on the window.
- ///
- /// // subscribe to the event
- /// Client.Avatars.AvatarAppearance += Avatars_AvatarAppearance;
- ///
- /// // handle the data when the event is raised
- /// void Avatars_AvatarAppearance(object sender, AvatarAppearanceEventArgs e)
- /// {
- /// Console.WriteLine("The Agent {0} is using a {1} shape.", e.AvatarID, (e.VisualParams[31] > 0) : "male" ? "female")
- /// }
- ///
- ///
public class PreloadSoundEventArgs : EventArgs
{
/// Simulator where the event originated