Internalize PAPI hook, cache SavedUser data

This commit is contained in:
William278 committed 2023-03-28 12:54:04 +01:00
1 parent d4be673581
commit 15227ee702
14 files changed
+193 -67

No files matched your search

@@ -27,7 +27,7 @@ public class PublicHomeCommand extends HomeCommand implements TabProvider {
@NotNull
public List<String> suggest(@NotNull CommandUser executor, @NotNull String[] args) {
if (args.length <= 2) {
return filter(reduceHomeList(plugin.getManager().homes().getPublicHomes()), args);
return filter(plugin.getManager().homes().getPublicHomeNames(), args);
}
return List.of();
}