From b276c0715c1e3c3ff1d5f77bbd5a3ee397c862bf Mon Sep 17 00:00:00 2001 From: tastybento Date: Mon, 4 Sep 2023 12:24:56 -0700 Subject: [PATCH] Fix reference for home list syntax in IslandDeletehomeCommand --- .../bentobox/api/commands/island/IslandDeletehomeCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/world/bentobox/bentobox/api/commands/island/IslandDeletehomeCommand.java b/src/main/java/world/bentobox/bentobox/api/commands/island/IslandDeletehomeCommand.java index a60aeeb41..903750fb3 100644 --- a/src/main/java/world/bentobox/bentobox/api/commands/island/IslandDeletehomeCommand.java +++ b/src/main/java/world/bentobox/bentobox/api/commands/island/IslandDeletehomeCommand.java @@ -67,7 +67,7 @@ public class IslandDeletehomeCommand extends ConfirmableCommand { 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;