From 72edd4bab3a38eefdc87c2aa680fdf7134d48c85 Mon Sep 17 00:00:00 2001 From: CobaltXII Date: Fri, 4 Jan 2019 17:42:25 -0500 Subject: [PATCH] Added test id_birch_sapling growth --- src/main.cpp | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 294053b..80a6a68 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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; } }