Fix reference for home list syntax in IslandDeletehomeCommand

This commit is contained in:
tastybento 2023-09-04 12:24:56 -07:00
parent 8d3be9c0ff
commit b276c0715c

View File

@ -67,7 +67,7 @@ public class IslandDeletehomeCommand extends ConfirmableCommand {
if (!getIslands().isHomeLocation(island, String.join(" ", args))) { if (!getIslands().isHomeLocation(island, String.join(" ", args))) {
user.sendMessage("commands.island.go.unknown-home"); user.sendMessage("commands.island.go.unknown-home");
user.sendMessage("commands.island.sethome.homes-are"); 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 false;
} }
return true; return true;