public void revertCheck(Player player){
        Block playerBlock = player.getLocation().getBlock();
        Iterator<Block> iterator = revertMap.get(player).iterator();
        while(iterator.hasNext()){
            Block nextBlock = iterator.next();
            int xCheck = abs(nextBlock.getX()) - abs(playerBlock.getX());
            int zCheck = abs(nextBlock.getZ()) - abs(playerBlock.getZ());
            if((abs(xCheck) > 3 || abs(zCheck) >3)){
                if(!SSMechanics.getNoCheatInstalled()){
                    player.sendBlockChange(nextBlock.getLocation(), nextBlock.getType(),(byte)0 );
                    iterator.remove();
                }else{
                    if(nextBlock.getTypeId()== SSMechanics.getLavaWalkBlock()){
                        nextBlock.setType(Material.LAVA);                        
                    }else if(nextBlock.getTypeId()== SSMechanics.getWaterWalkBlock() || nextBlock.getType()== Material.CLAY){
                        nextBlock.setType(Material.WATER);
                    }
                    iterator.remove();
                }
            }
        }
    }