Added test id_birch_sapling growth

This commit is contained in:
CobaltXII
2019-01-04 17:42:25 -05:00
parent 2dba3e7554
commit 72edd4bab3

View File

@@ -1114,6 +1114,36 @@ int main(int argc, char** argv)
id_oak_log
);
the_growing_plant.done = true;
}
else if (the_growing_plant.type == growing_birch_sapling)
{
the_accessor->set_id_safe
(
the_growing_plant.x,
the_growing_plant.y,
the_growing_plant.z,
id_air
);
the_growing_plant.y++;
plant_tree_accessor
(
the_accessor,
player_hitbox,
the_growing_plant.x,
the_growing_plant.y,
the_growing_plant.z,
id_birch_leaves,
id_birch_log
);
the_growing_plant.done = true;
}
}