mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-01 22:16:08 +00:00
Continue command refactor work
This commit is contained in:
31 files changed
+319
-391
No files matched your search
@@ -203,7 +203,8 @@ public class TpCommand extends Command implements TabProvider, ConsoleExecutable
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NotNull List<String> suggest(@NotNull String[] args, @Nullable OnlineUser user) {
|
||||
@NotNull
|
||||
public final List<String> suggest(@NotNull CommandUser user, @NotNull String[] args) {
|
||||
final boolean serveCoordinateCompletions = user != null && user.hasPermission(Permission.COMMAND_TP_TO_COORDINATES.node);
|
||||
switch (args.length) {
|
||||
case 0, 1 -> {
|
||||
|
||||
Reference in new issue
Block a user