summaryrefslogtreecommitdiffstats
path: root/src/Generating
diff options
context:
space:
mode:
author12xx12 <44411062+12xx12@users.noreply.github.com>2021-04-20 17:04:31 +0200
committerGitHub <noreply@github.com>2021-04-20 17:04:31 +0200
commitefa5310d69e00ce6b86e793d4fa0295251b68ee9 (patch)
tree55c5a9146ee1b47d03fe8e7927adb99a1b5556ad /src/Generating
parentForestRocks: use make_unique to construct (diff)
downloadcuberite-efa5310d69e00ce6b86e793d4fa0295251b68ee9.tar
cuberite-efa5310d69e00ce6b86e793d4fa0295251b68ee9.tar.gz
cuberite-efa5310d69e00ce6b86e793d4fa0295251b68ee9.tar.bz2
cuberite-efa5310d69e00ce6b86e793d4fa0295251b68ee9.tar.lz
cuberite-efa5310d69e00ce6b86e793d4fa0295251b68ee9.tar.xz
cuberite-efa5310d69e00ce6b86e793d4fa0295251b68ee9.tar.zst
cuberite-efa5310d69e00ce6b86e793d4fa0295251b68ee9.zip
Diffstat (limited to '')
-rw-r--r--src/Generating/Trees.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Generating/Trees.cpp b/src/Generating/Trees.cpp
index 74742614c..28f0da6ce 100644
--- a/src/Generating/Trees.cpp
+++ b/src/Generating/Trees.cpp
@@ -476,6 +476,7 @@ void GetTreeImageByBiome(Vector3i a_BlockPos, cNoise & a_Noise, int a_Seq, EMCSB
case biMesaPlateauM:
{
GetSmallAppleTreeImage(a_BlockPos, a_Noise, a_Seq, a_LogBlocks, a_OtherBlocks);
+ return;
}
case biMushroomIsland:
case biMushroomShore:
@@ -488,6 +489,7 @@ void GetTreeImageByBiome(Vector3i a_BlockPos, cNoise & a_Noise, int a_Seq, EMCSB
{
GetRedMushroomTreeImage(a_BlockPos, a_Noise, a_Seq, a_LogBlocks, a_OtherBlocks);
}
+ return;
}
case biDesert:
case biDesertHills: