@Override
	public OreLookup lookup(String player, Integer time, List<Integer> restrict) {
		List<Block> blocks = new ArrayList<Block>();
		int i = 0;
		for (int value : restrict){
			blocks.add(i,new Block(value, -1));
			i++;
		}
		OreLookup ore = new OreLookup(player);
		for (String w : plugin.getConfiguration().getWorlds()) {
			QueryParams params = new QueryParams(this.logblock);
			params.bct = BlockChangeType.DESTROYED;
			params.since = time / 60;
			params.limit = -1;
			params.setPlayer(player);
			params.types = blocks;
			params.world = Bukkit.getWorld(w);
			
			params.needType = true;

			try {
			    for (BlockChange bc : this.logblock.getBlockChanges(params)) {
		    		ore.add(bc.replaced);
			    }
			} 
			catch (SQLException ex) {
				plugin.log("Unexpected Exception while fetching Data from LogBlock: "+ex.getMessage());
			}
		}
		return ore;
	}