mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-01 22:16:08 +00:00
Some more encapsulation
This commit is contained in:
8 files changed
+33
-17
No files matched your search
@@ -222,7 +222,7 @@ public class EdithomeCommand extends CommandBase implements TabCompleter {
|
||||
}
|
||||
if (args.length == 1) {
|
||||
final List<String> tabCompletions = new ArrayList<>();
|
||||
StringUtil.copyPartialMatches(args[0], HomeCommand.Tab.homeTabCache.get(p.getUniqueId()), tabCompletions);
|
||||
StringUtil.copyPartialMatches(args[0], HomeCommand.Tab.getHomeTabCache().get(p.getUniqueId()), tabCompletions);
|
||||
Collections.sort(tabCompletions);
|
||||
return tabCompletions;
|
||||
} else if (args.length == 2) {
|
||||
|
||||
Reference in new issue
Block a user