aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/PineFeature.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/PineFeature.cpp')
-rw-r--r--Minecraft.World/PineFeature.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/PineFeature.cpp b/Minecraft.World/PineFeature.cpp
index bbe424aa..685f1e48 100644
--- a/Minecraft.World/PineFeature.cpp
+++ b/Minecraft.World/PineFeature.cpp
@@ -19,7 +19,7 @@ bool PineFeature::place(Level *level, Random *random, int x, int y, int z)
}
// 4J Stu Added to stop tree features generating areas previously place by game rule generation
- if(app.getLevelGenerationOptions() != nullptr)
+ if(app.getLevelGenerationOptions() != NULL)
{
LevelGenerationOptions *levelGenOptions = app.getLevelGenerationOptions();
bool intersects = levelGenOptions->checkIntersects(x - topRadius, y - 1, z - topRadius, x + topRadius, y + treeHeight, z + topRadius);