@Override
    public void render(MapView mapView, MapCanvas mapCanvas, Player player) {
        int worldX = mapView.getCenterX() - 64;
        int worldZ = mapView.getCenterZ() - 64;
        mapView.setScale(MapView.Scale.CLOSEST);
        ChunkyPlayer chunkyPlayer = ChunkyManager.getChunkyPlayer(player);
        for (int x = 0; x < 128; x += 16) {
            for (int z = 0; z < 128; z += 16) {
                int realx = worldX + x;
                int realz = worldZ + z;
                ChunkyChunk chunk = ChunkyManager.getChunkyChunk(new Location(player.getWorld(), realx, 0, realz));
                if (chunk.getOwner() == null) continue;
                Byte color = MapPalette.RED;

                if (chunk.getOwner().equals(chunkyPlayer)) color = MapPalette.BLUE;
                //else if(chunkyPlayer.hasPerm(chunk, PermissionRelationship.Flags.BUILD)) color=MapPalette.LIGHT_GREEN;

                drawChunk(x, z, mapCanvas, color);
            }
        }

    }