Refactor cached data away from cache

This commit is contained in:
William committed 2023-03-21 19:23:45 +00:00
1 parent b095c92854
commit a959aa9519
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();
}