Skip to content

Commit

Permalink
Fix reference for home list syntax in IslandDeletehomeCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed Sep 4, 2023
1 parent 8d3be9c commit b276c07
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public boolean canExecute(User user, String label, List<String> args) {
if (!getIslands().isHomeLocation(island, String.join(" ", args))) {
user.sendMessage("commands.island.go.unknown-home");
user.sendMessage("commands.island.sethome.homes-are");
island.getHomes().keySet().stream().filter(s -> !s.isEmpty()).forEach(s -> user.sendMessage("home-list-syntax", TextVariables.NAME, s));
island.getHomes().keySet().stream().filter(s -> !s.isEmpty()).forEach(s -> user.sendMessage("commands.island.sethome.home-list-syntax", TextVariables.NAME, s));
return false;
}
return true;
Expand Down

0 comments on commit b276c07

Please sign in to comment.