public boolean regenBlockQuestion(String world, int x,int y, int z, String currentMaterial) throws SQLException {
		if (!this.db.checkConnection())
			this.db.openConnection();
		Statement statement = this.db.getConnection().createStatement();
		ResultSet rs = statement.executeQuery("SELECT * FROM 'wgrsnapshot' WHERE 'World'='world' AND 'X'='x' AND 'Y'='y' AND 'Z'='z';");
		//Does the entry exists?
		if (!rs.next()) {
			return false;
		}
		//Should the regening be ignored?
		if (rs.getBoolean("Ignore")) {
			return false;
		}
		//Is the currentMaterial in the ReplacedMaterials list?
		boolean containsMaterial = Arrays.asList(rs.getArray("ReplacedMaterials")).contains(currentMaterial);
		//Does the block match the whitelist?
		if (rs.getBoolean("Whitelist")) {
			return containsMaterial;
		}
		//Else, does block NOT match the blacklist
		else {
			return !containsMaterial;
		}
	}