From 1064d777c26ef39089e5ab1745a2c0b3f3e3bfcc Mon Sep 17 00:00:00 2001 From: Hannes Greule Date: Fri, 21 Aug 2020 00:02:07 +0200 Subject: [PATCH] Clean up unused code --- .../com/plotsquared/core/command/Visit.java | 23 ------------------- 1 file changed, 23 deletions(-) diff --git a/Core/src/main/java/com/plotsquared/core/command/Visit.java b/Core/src/main/java/com/plotsquared/core/command/Visit.java index ae6b3947e..c5f8b4b6d 100644 --- a/Core/src/main/java/com/plotsquared/core/command/Visit.java +++ b/Core/src/main/java/com/plotsquared/core/command/Visit.java @@ -264,27 +264,4 @@ public class Visit extends Command { return completions; } - - private void completeNumbers(final List commands, final String arg, final int start) { - for (int i = 0; i < 100; i++) { - final String command = Integer.toString(start + 1); - if (!command.toLowerCase().startsWith(arg.toLowerCase())) { - continue; - } - commands.add(new Command(this, false, command, "", - RequiredType.NONE, CommandCategory.TELEPORT) {}); - } - } - - private void completeAreas(final List commands, final String arg) { - for (final PlotArea area : PlotSquared.get().getPlotAreas()) { - final String areaName = area.getWorldName() + ";" + area.getId(); - if (!areaName.toLowerCase().startsWith(arg.toLowerCase())) { - continue; - } - commands.add(new Command(this, false, area.getWorldName() + ";" + area.getId(), "", - RequiredType.NONE, CommandCategory.TELEPORT) {}); - } - } - }