Remove required args for visit

This commit is contained in:
Jesse Boyd 2016-03-29 18:48:07 +11:00
parent bc8becae8e
commit 638f267498

View File

@ -28,9 +28,7 @@ import com.intellectualcrafters.plot.util.MainUtil;
import com.intellectualcrafters.plot.util.MathMan;
import com.intellectualcrafters.plot.util.Permissions;
import com.intellectualcrafters.plot.util.UUIDHandler;
import com.plotsquared.general.commands.Argument;
import com.plotsquared.general.commands.CommandDeclaration;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
@ -48,10 +46,6 @@ import java.util.UUID;
category = CommandCategory.TELEPORT)
public class Visit extends SubCommand {
public Visit() {
super(Argument.String);
}
public List<Plot> getPlots(UUID uuid) {
List<Plot> plots = new ArrayList<>();
for (Plot p : PS.get().getPlots()) {