Mention missing coords parameter in /lb tp [number] commands

This commit is contained in:
Robin Kupper
2011-08-21 21:13:26 +02:00
parent 426bfcc3c3
commit 73361ec1c1

View File

@@ -324,7 +324,7 @@ public class CommandsHandler implements CommandExecutor
player.teleport(new Location(loc.getWorld(), loc.getX() + 0.5, saveSpawnHeight(loc), loc.getZ() + 0.5, player.getLocation().getYaw(), 90));
player.sendMessage(ChatColor.LIGHT_PURPLE + "Teleported to " + loc.getBlockX() + ":" + loc.getBlockY() + ":" + loc.getBlockZ());
} else
sender.sendMessage(ChatColor.RED + "There is no location associated with that");
sender.sendMessage(ChatColor.RED + "There is no location associated with that. Did you forget coords parameter?");
} else
sender.sendMessage(ChatColor.RED + "'" + args[1] + " is out of range");
else