mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-01 22:16:08 +00:00
refactor: remove erroneous TAB completed arg
This commit is contained in:
2 files changed
+6
-2
No files matched your search
@@ -28,13 +28,15 @@ import net.william278.huskhomes.util.TransactionResolver;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Optional;
|
||||
|
||||
public abstract class HomeCommand extends SavedPositionCommand<Home> {
|
||||
|
||||
protected HomeCommand(@NotNull String name, @NotNull List<String> aliases, @NotNull PositionCommandType type,
|
||||
@NotNull HuskHomes plugin) {
|
||||
super(name, aliases, type, List.of("player"), plugin);
|
||||
super(name, aliases, type, List.of(), plugin);
|
||||
addAdditionalPermissions(Map.of("player", true));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -27,12 +27,14 @@ import net.william278.huskhomes.util.TransactionResolver;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Optional;
|
||||
|
||||
public class WarpCommand extends SavedPositionCommand<Warp> {
|
||||
|
||||
protected WarpCommand(@NotNull HuskHomes plugin) {
|
||||
super("warp", List.of(), PositionCommandType.WARP, List.of("player"), plugin);
|
||||
super("warp", List.of(), PositionCommandType.WARP, List.of(), plugin);
|
||||
addAdditionalPermissions(Map.of("player", true));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user