Skip to content

Commit

Permalink
refactor: remove erroneous TAB completed arg
Browse files Browse the repository at this point in the history
  • Loading branch information
WiIIiam278 committed May 30, 2024
1 parent c0b14e0 commit 8fd62aa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,15 @@
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@
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
Expand Down

0 comments on commit 8fd62aa

Please sign in to comment.