This commit is contained in:
@@ -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++) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user