Keep spaces in alerts
This commit is contained in:
parent
372b3c231c
commit
fbf3fc9795
@ -27,11 +27,12 @@ public class CommandAlert extends Command
|
|||||||
for (String s : args)
|
for (String s : args)
|
||||||
{
|
{
|
||||||
builder.append(s);
|
builder.append(s);
|
||||||
|
builder.append(" ");
|
||||||
}
|
}
|
||||||
String message = builder.toString();
|
String message = builder.substring(0, builder.length() - 1);
|
||||||
for (UserConnection con : BungeeCord.instance.connections.values())
|
for (UserConnection con : BungeeCord.instance.connections.values())
|
||||||
{
|
{
|
||||||
con.sendMessage(message.toString());
|
con.sendMessage(message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user