public static boolean canOpenScreen(UserInterface ui) {
		if (ui instanceof Inventory) {
			if (Console.isActive()) {
				return false;
			} else {
				return true;
			}
		} else if (ui instanceof Console) {
			return true;
		}
		return false;
	}