mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-01-30 12:01:30 +01:00
Return false if unsuccessful due to no island.
This commit is contained in:
parent
219d1e66ab
commit
3e2d2ec2d6
@ -39,7 +39,7 @@ public class IslandGoCommand extends CompositeCommand {
|
||||
public boolean execute(User user, List<String> args) {
|
||||
if (!getIslands().hasIsland(user.getUniqueId())) {
|
||||
user.sendMessage(ChatColor.RED + "general.errors.no-island");
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
if (!args.isEmpty() && NumberUtils.isDigits(args.get(0))) {
|
||||
int homeValue = Integer.valueOf(args.get(0));
|
||||
|
Loading…
Reference in New Issue
Block a user