Dieser Commit ist enthalten in:
Ursprung
209214a773
Commit
c90de5c455
@ -52,7 +52,10 @@ public class ChatListener extends BasicListener {
|
||||
|
||||
private static final Logger cmdLogger = Logger.getLogger("Command logger");
|
||||
|
||||
private static final List<String> rankedModes = ArenaMode.getAllModes().stream().filter(ArenaMode::isRanked).map(ArenaMode::getSchemType).toList();
|
||||
private static final List<String> rankedModes = ArenaMode.getAllModes().stream().filter(ArenaMode::isRanked).map(arenaMode -> {
|
||||
if (arenaMode.getSchematic() != null) return arenaMode.getSchemType();
|
||||
return arenaMode.getChatName();
|
||||
}).toList();
|
||||
|
||||
@Subscribe(order = PostOrder.FIRST)
|
||||
public void fixCommands(CommandExecuteEvent e) {
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren