mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +00:00
Fix tab complete including vanished players, close #358
This commit is contained in:
2 files changed
+14
-5
No files matched your search
@@ -31,7 +31,7 @@ public interface UserListTabProvider extends TabProvider {
|
||||
@Override
|
||||
@Nullable
|
||||
default List<String> suggest(@NotNull CommandUser user, @NotNull String[] args) {
|
||||
return args.length < 2 ? getPlugin().getPlayerList() : null;
|
||||
return args.length < 2 ? getPlugin().getPlayerList(false) : null;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
||||
Reference in new issue
Block a user