Don't print block locations inside the info command.
This commit is contained in:
		| @@ -47,12 +47,12 @@ public class CommandInfo extends BaseCommand | |||||||
| 		sendMessage(openHiddenMessage); | 		sendMessage(openHiddenMessage); | ||||||
| 		 | 		 | ||||||
| 		if (gate.getLocation() != null) | 		if (gate.getLocation() != null) | ||||||
| 			sendMessage(ChatColor.DARK_AQUA + "from:  " + ChatColor.AQUA + "( " + gate.getLocation().getBlockX() + " | " + gate.getLocation().getBlockY() + " | " + gate.getLocation().getBlockZ() + " ) in " + gate.getLocation().getWorld().getName()); | 			sendMessage(ChatColor.DARK_AQUA + "from:  " + ChatColor.AQUA + "( " + (long)gate.getLocation().getX() + " | " + (long)gate.getLocation().getY() + " | " + (long)gate.getLocation().getZ() + " ) in " + gate.getLocation().getWorld().getName()); | ||||||
| 		else | 		else | ||||||
| 			sendMessage(ChatColor.DARK_AQUA + "NOTE: this gate has no location"); | 			sendMessage(ChatColor.DARK_AQUA + "NOTE: this gate has no location"); | ||||||
| 		 | 		 | ||||||
| 		if (gate.getExit() != null) | 		if (gate.getExit() != null) | ||||||
| 			sendMessage(ChatColor.DARK_AQUA + "to:     " + ChatColor.AQUA + "( " + gate.getExit().getBlockX() + " | " + gate.getExit().getBlockY() + " | " + gate.getExit().getBlockZ() + " ) in " + gate.getExit().getWorld().getName()); | 			sendMessage(ChatColor.DARK_AQUA + "to:     " + ChatColor.AQUA + "( " + (long)gate.getExit().getX() + " | " + (long)gate.getExit().getY() + " | " + (long)gate.getExit().getZ() + " ) in " + gate.getExit().getWorld().getName()); | ||||||
| 		else | 		else | ||||||
| 			sendMessage(ChatColor.DARK_AQUA + "NOTE: this gate has no exit"); | 			sendMessage(ChatColor.DARK_AQUA + "NOTE: this gate has no exit"); | ||||||
| 	} | 	} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Tobias Ottenweller
					Tobias Ottenweller