Skip to content

Commit

Permalink
Update title
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamesuta committed Nov 7, 2020
1 parent 7b27134 commit 014106a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ public List<String> onTabComplete(CommandSender sender, Command command, String
.collect(Collectors.toList());
case "execute":
return Stream.concat(
Stream.of("@a"),
Stream.of("@a", "@p"),
Bukkit.getOnlinePlayers().stream()
.map(Player::getName)
.filter(e -> arg1 == null || e.startsWith(arg1))
Expand All @@ -745,7 +745,7 @@ public List<String> onTabComplete(CommandSender sender, Command command, String
case "invite":
Set<PlayerData> members = state.getGroup().getPlayers();
return Stream.concat(
Stream.of("@a"),
Stream.of("@a", "@p"),
Bukkit.getOnlinePlayers().stream()
.filter(e -> members.stream().noneMatch(x -> x.player.equals(e)))
.map(Player::getName)
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/teamfruit/sushida/util/TitleUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public static void showTitle(Player player) {
.append(" - ").color(ChatColor.GRAY)
.append("制作: かめすた").color(ChatColor.LIGHT_PURPLE)
.append(" / ").color(ChatColor.GRAY)
.append("制作時間: 60時間").color(ChatColor.RED)
.append("制作時間: 85時間").color(ChatColor.RED)
.create()
);
player.sendMessage("");
Expand Down

0 comments on commit 014106a

Please sign in to comment.