diff --git a/LibreMetaverse/AgentManager.cs b/LibreMetaverse/AgentManager.cs index 0f69b533..2c77e8cc 100644 --- a/LibreMetaverse/AgentManager.cs +++ b/LibreMetaverse/AgentManager.cs @@ -1596,6 +1596,13 @@ namespace OpenMetaverse { throw new Exception("Split size must be at least 1 byte"); } + if (message.Length == 0) + { + return new List() + { + string.Empty + }; + } var messageParts = new List(); var messageBytes = System.Text.Encoding.UTF8.GetBytes(message);