More command refactoring

This commit is contained in:
William278 committed 2023-03-20 00:01:09 +00:00
1 parent 3bde5305d7
commit 34eb2c1f54
17 files changed
+382 -540

No files matched your search

@@ -114,6 +114,12 @@ public abstract class SavedPositionCommand<T extends SavedPosition> extends Comm
.execute();
}
@Override
@NotNull
public Map<String, Boolean> getAdditionalPermissions() {
return Map.of(getOtherPermission(), true);
}
@Override
@NotNull
public List<String> suggest(@NotNull CommandUser executor, @NotNull String[] args) {