mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-02-04 06:21:28 +01:00
Fix reference for home list syntax in IslandDeletehomeCommand
This commit is contained in:
parent
8d3be9c0ff
commit
b276c0715c
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user