Compress ChatListener.onPlusMessage
Dieser Commit ist enthalten in:
Ursprung
955cb8863a
Commit
906be50771
@ -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);
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren