mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
Continue command refactor work
This commit is contained in:
31 files changed
+319
-391
No files matched your search
@@ -133,7 +133,8 @@ public class PublicHomeCommand extends Command implements TabProvider, ConsoleEx
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NotNull List<String> suggest(@NotNull String[] args, @Nullable OnlineUser user) {
|
||||
@NotNull
|
||||
public final List<String> suggest(@NotNull CommandUser user, @NotNull String[] args) {
|
||||
// Return every public home name as username.home_name from the cache
|
||||
final List<String> publicHomes = new ArrayList<>();
|
||||
plugin.getCache().getPublicHomes().forEach((ownerName, homeNames) ->
|
||||
|
||||
Reference in new issue
Block a user