mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-24 03:05:49 +01:00
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