public static void IfMap() {

		for (int i = 0; i < playerInventory.length; i++) {

			Item playerInventoryVariable = playerInventory[i];

			if (playerInventoryVariable != null) {

				if (playerInventory[i].getId() == 0) {
					// playerInventoryVariable = true;
					map();

				}
			}
		}
		System.out.println("You do not have the map");
	}