aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/BirchFeature.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/BirchFeature.cpp')
-rw-r--r--Minecraft.World/BirchFeature.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/BirchFeature.cpp b/Minecraft.World/BirchFeature.cpp
index d7a57514..3c423564 100644
--- a/Minecraft.World/BirchFeature.cpp
+++ b/Minecraft.World/BirchFeature.cpp
@@ -42,7 +42,7 @@ bool BirchFeature::place(Level *level, Random *random, int x, int y, int z)
if ((belowTile != Tile::grass_Id && belowTile != Tile::dirt_Id) || y >= Level::maxBuildHeight - treeHeight - 1) return false;
// 4J Stu Added to stop tree features generating areas previously place by game rule generation
- if(app.getLevelGenerationOptions() != NULL)
+ if(app.getLevelGenerationOptions() != nullptr)
{
LevelGenerationOptions *levelGenOptions = app.getLevelGenerationOptions();
int radius = 3;