Merge branch 'master' into 1.16

This commit is contained in:
gnembon committed 2020-04-29 00:48:26 -03:00
commit e64f6c87d4
6 files changed
+177 -6

No files matched your search

+7 -3
View File
@@ -126,10 +126,14 @@ public class Messenger
{
message = "w"+message;
}
String[] parts = message.split("\\s", 2);
String desc = parts[0];
int limit = message.indexOf(' ');
String desc = message;
String str = "";
if (parts.length > 1) str = parts[1];
if (limit >= 0)
{
desc = message.substring(0, limit);
str = message.substring(limit+1);
}
if (desc.charAt(0) == '/') // deprecated
{
if (previous_message != null)