public void handleAccept(final Player player, boolean ifFriendly) {
		if (canAccept(player)) {
			Player other = getOther(player);
			player.getTemporaryAttributtes().put("accepted", true);
			other.getPackets().sendIComponentText(ifFriendly ? 637 : 631,
					ifFriendly ? 20 : 41, "Other player has accepted.");
			player.getPackets().sendIComponentText(ifFriendly ? 637 : 631,
					ifFriendly ? 20 : 41, "Waiting for other player...");
			if (other.getTemporaryAttributtes().get("accepted") != null) {
				player.setCloseInterfacesEvent(null);
				other.setCloseInterfacesEvent(null);
				player.getTemporaryAttributtes().put("accepted", false);
				other.getTemporaryAttributtes().put("accepted", false);
				player.getTemporaryAttributtes().remove("firstScreen");
				other.getTemporaryAttributtes().remove("firstScreen");
				openSecondInterface(player, other, ifFriendly);
				openSecondInterface(other, player, ifFriendly);
				if (stake.getFreeSlot() != 0) {
					player.getPackets().sendIComponentText(626, 25, "");
					other.getPackets().sendIComponentText(626, 26, "");
				}
				if (stake2.getFreeSlot() != 0) {
					player.getPackets().sendIComponentText(626, 26, "");
					other.getPackets().sendIComponentText(626, 25, "");
				}
			}
		}
	}