@SuppressWarnings("deprecation")
	private boolean viewChestFor(Player player, String[] strings) {
		if (player.getTargetBlock(null, 50).getType() == Material.CHEST) {
			Chest chest = (Chest) player.getTargetBlock(null, 50).getState();
			if (strings.length == 0) {
				if (methods.isSingleChest(chest) || chest instanceof DoubleChest) {
					player.sendMessage(RED + "Incorrect syntax, usage: /viewchestfor <player>");
					return true;
				}
			} else if (strings.length == 1) {
				Player target = Bukkit.getPlayer(strings[0]);
				if (target != null) {
					if (methods.isSingleChest(chest)) {
						methods.saveSingleChest(chest);
						methods.sendSingleChestView(target, chest);
						methods.removeSingleContents(chest);
						player.sendMessage(YELLOW + target.getName() + GREEN + " is now viewing the chest.");
						target.sendMessage(YELLOW + player.getName() + GREEN + " made you view the chest.");
					} else if (chest.getInventory().getHolder() instanceof DoubleChest) {
						DoubleChest dbleChest = (DoubleChest) chest.getInventory().getHolder();
						methods.saveDoubleChest(dbleChest);
						methods.sendDoubleChestView(target, dbleChest);
						methods.removeDoubleContents(dbleChest);
						player.sendMessage(YELLOW + target.getName() + GREEN + " is now viewing the chest.");
						target.sendMessage(YELLOW + player.getName() + GREEN + " made you view the chest.");
					}
				} else {
					player.sendMessage(RED + strings[0] + " is offline.");
				}
			}
		} else {
			player.sendMessage(RED + "That is not a chest.");
		}
		return true;
	}