From 01eabf4aab962e17280b990ae0e14574c8ccf37d Mon Sep 17 00:00:00 2001 From: Adubbz Date: Wed, 1 Jan 2020 09:55:36 +1100 Subject: [PATCH] Fixed recursion crash in some generation features --- .../common/world/gen/feature/BigPumpkinFeature.java | 2 +- .../common/world/gen/feature/BoneSpineFeature.java | 2 +- .../common/world/gen/feature/NetherVinesFeature.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/biomesoplenty/common/world/gen/feature/BigPumpkinFeature.java b/src/main/java/biomesoplenty/common/world/gen/feature/BigPumpkinFeature.java index b4986d7da..3dab8ce21 100644 --- a/src/main/java/biomesoplenty/common/world/gen/feature/BigPumpkinFeature.java +++ b/src/main/java/biomesoplenty/common/world/gen/feature/BigPumpkinFeature.java @@ -100,7 +100,7 @@ public class BigPumpkinFeature extends Feature { if (this.replace.matches(world, pos)) { - this.setBlock(world, pos, state); + super.setBlock(world, pos, state); return true; } return false; diff --git a/src/main/java/biomesoplenty/common/world/gen/feature/BoneSpineFeature.java b/src/main/java/biomesoplenty/common/world/gen/feature/BoneSpineFeature.java index 10abe4bdc..0ec8118c1 100644 --- a/src/main/java/biomesoplenty/common/world/gen/feature/BoneSpineFeature.java +++ b/src/main/java/biomesoplenty/common/world/gen/feature/BoneSpineFeature.java @@ -82,7 +82,7 @@ public class BoneSpineFeature extends Feature { if (this.replace.matches(world, pos)) { - this.setBlock(world, pos, state); + super.setBlock(world, pos, state); return true; } return false; diff --git a/src/main/java/biomesoplenty/common/world/gen/feature/NetherVinesFeature.java b/src/main/java/biomesoplenty/common/world/gen/feature/NetherVinesFeature.java index ca91add2f..15bda6ed4 100644 --- a/src/main/java/biomesoplenty/common/world/gen/feature/NetherVinesFeature.java +++ b/src/main/java/biomesoplenty/common/world/gen/feature/NetherVinesFeature.java @@ -88,7 +88,7 @@ public class NetherVinesFeature extends Feature { if (this.replace.matches(world, pos)) { - this.setBlock(world, pos, state); + super.setBlock(world, pos, state); return true; } return false;