@SuppressWarnings("deprecation")
	public static boolean czyGraczMaItemy(String p) {
		boolean czyMa = true;
		Player pp = Bukkit.getPlayer(p);
		
		if (!pp.getInventory().contains(new ItemStack(Material.DIAMOND, 64))) {
			czyMa = false;
		}
		if (!pp.getInventory().contains(new ItemStack(Material.GOLD_INGOT, 64))) {
			czyMa = false;
		}
		if (!pp.getInventory().contains(new ItemStack(Material.getMaterial(289), 64))) {
			czyMa = false;
		}
		if (!pp.getInventory().contains(new ItemStack(Material.SUGAR_CANE, 64))) {
			czyMa = false;
		}
		if (!pp.getInventory().contains(new ItemStack(Material.BRICK, 64))) {
			czyMa = false;
		}
		if (!pp.getInventory().contains(new ItemStack(Material.EMERALD, 64))) {
			czyMa = false;
		}
		if (!pp.getInventory().contains(new ItemStack(Material.SAPLING, 64))) {
			czyMa = false;
		}
		if (!pp.getInventory().contains(new ItemStack(Material.getMaterial(39), 64))) {
			czyMa = false;
		}
		
		return czyMa;
	}