Update ban commands and pom.xml
Java CI with Maven / build (push) Failing after 8m44s

This commit is contained in:
Laura
2026-08-09 15:03:51 +02:00
parent 3ec59b4074
commit 449da58c52
3 changed files with 34 additions and 17 deletions
@@ -63,8 +63,20 @@ public class BanPlayer extends Command implements TabExecutor {
suggestions.add(playerName);
}
}
while(suggestions.size() > 10){
suggestions.remove(suggestions.size() - 1);
return suggestions;
}
return suggestions;
}
int i = 32.1;
private List<String> generateReasonString(String input){
List<String> suggestions = new ArrayList<>();
@@ -27,6 +27,15 @@ public class UUIDBanPlayer extends Command {
ban.processBan(UUID.fromString(args[0]),l,reason,sp, BanLocation.BAN_LOCATION_MINECRAFT);
//ToDo: Add DIscord message
}
for (int i = 0; i < 10; i++) {
}
}
}