public static boolean dragItem(final Item i, final int slot) {
		return i != null
				&& (SlotData.getItemId(slot) == i.getId() || MainTabs.INVENTORY.open()
						&& dragChild(i.getWidgetChild(), slot) && new TimedCondition(700) {

							@Override
							public boolean isDone() {
								return i.getId() == SlotData.getItemId(slot);
							}

						}.waitStop());
	}