mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
Refactor cached data away from cache
This commit is contained in:
14 files changed
+166
-373
No files matched your search
@@ -27,7 +27,7 @@ public class PublicHomeCommand extends HomeCommand {
|
||||
@NotNull
|
||||
public List<String> suggest(@NotNull CommandUser executor, @NotNull String[] args) {
|
||||
if (args.length <= 2) {
|
||||
return filter(reduceHomeList(plugin.getCache().getHomes()), args);
|
||||
return filter(reduceHomeList(plugin.getManager().homes().getPublicHomes()), args);
|
||||
}
|
||||
return List.of();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user