Remove deprecated code usage from CommandAPI
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
7ac5240289
Commit
fa0f80f36f
@ -236,7 +236,7 @@ public class TraceCommand extends SWCommand {
|
||||
@Override
|
||||
public List<String> tabCompletes(CommandSender commandSender, PreviousArguments previousArguments, String s) {
|
||||
Set<ShowModeParameterType> showModeParameterTypeSet = new HashSet<>();
|
||||
Arrays.stream(previousArguments.mappedArgs).filter(ShowModeType.class::isInstance).map(ShowModeType.class::cast).forEach(showModeType -> {
|
||||
previousArguments.getAll(ShowModeType.class).forEach(showModeType -> {
|
||||
showModeParameterTypeSet.addAll(Arrays.asList(showModeType.removedTypes));
|
||||
});
|
||||
Arrays.stream(previousArguments.userArgs).map(showModeParameterTypesMap::get).forEach(showModeParameterTypeSet::add);
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren