mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 14:46:45 +01:00
remove debug, whoops
This commit is contained in:
parent
862467c0fa
commit
2436a6a402
@ -260,11 +260,6 @@ public class Visit extends Command {
|
||||
|
||||
public Collection<Command> tab(PlotPlayer player, String[] args, boolean space) {
|
||||
final List<Command> completions = new LinkedList<>();
|
||||
player.sendMessage("u haef " + args.length + " args and they r ");
|
||||
for (int i = 0; i < args.length; i++) {
|
||||
player.sendMessage(i + ": " + args[i]);
|
||||
}
|
||||
|
||||
switch (args.length - 1) {
|
||||
case 0:
|
||||
this.completeNumbers(completions, args[0], 0);
|
||||
@ -289,7 +284,7 @@ public class Visit extends Command {
|
||||
}
|
||||
|
||||
private void completeNumbers(final List<Command> commands, final String arg, final int start) {
|
||||
for (int i = 0; i < 10; i++) {
|
||||
for (int i = 0; i < 100; i++) {
|
||||
final String command = Integer.toString(start + 1);
|
||||
if (!command.toLowerCase().startsWith(arg.toLowerCase())) {
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user