Add /edithome, use instant for timestamps, new locales

This commit is contained in:
William committed 2022-08-16 00:58:26 +01:00
1 parent eddae1051c
commit a91128ca3d
24 files changed
+793 -205

No files matched your search

@@ -37,7 +37,7 @@ public class WarpCommand extends CommandBase implements TabCompletable, ConsoleE
}
@Override
public List<String> onTabComplete(@NotNull OnlineUser onlineUser, @NotNull String[] args) {
public @NotNull List<String> onTabComplete(@NotNull OnlineUser onlineUser, @NotNull String[] args) {
return plugin.getCache().warps.stream()
.filter(s -> s.toLowerCase().startsWith(args.length >= 1 ? args[0].toLowerCase() : ""))
.sorted().collect(Collectors.toList());