Archiviert
1
0

Compress ChatListener.onPlusMessage

Dieser Commit ist enthalten in:
yoyosource 2021-06-27 08:10:15 +02:00
Ursprung 955cb8863a
Commit 906be50771

Datei anzeigen

@ -119,9 +119,8 @@ public class ChatListener extends BasicListener {
ProxiedPlayer p = (ProxiedPlayer) e.getSender();
Subserver subserver = Subserver.getSubserver(p);
if(subserver instanceof Bauserver) {
String[] smolArgs = e.getMessage().split(" ");
String[] smolArgs = e.getMessage().substring(1).split(" ");
String[] args = new String[smolArgs.length + 1];
smolArgs[0] = smolArgs[0].substring(1);
args[0] = "";
System.arraycopy(smolArgs, 0, args, 1, smolArgs.length);
localChat(e, args);