Keep spaces in alerts

This commit is contained in:
md_5 2012-10-21 20:58:31 +11:00
parent 372b3c231c
commit fbf3fc9795

View File

@ -27,11 +27,12 @@ public class CommandAlert extends Command
for (String s : args)
{
builder.append(s);
builder.append(" ");
}
String message = builder.toString();
String message = builder.substring(0, builder.length() - 1);
for (UserConnection con : BungeeCord.instance.connections.values())
{
con.sendMessage(message.toString());
con.sendMessage(message);
}
}
}