public World(int i, String j, int k, int l, Client m) {
        client = m;
        worldnumber = i;
        worldgenerator = j;
        width = k;
        height = l;
        this.map = new Block[width][height];
        Random random = new Random();
        this.seed = random.nextInt(2147483647);
        int success;

        WorldGen = new WorldGenerator(worldgenerator, this, width, height);
        success = WorldGen.Generate();

        if(success == 0) {
            client.setErrorMsg("ERROR: World generator " + worldgenerator + " doesn't exist!");
            client.setError(true);
        } else if(success == 1) {
            System.out.println("World succesfull generated!");
        }
    }