Fixed recursion crash in some generation features

This commit is contained in:
Adubbz 2020-01-01 09:55:36 +11:00
parent 883717a7c1
commit 01eabf4aab
3 changed files with 3 additions and 3 deletions

View file

@ -100,7 +100,7 @@ public class BigPumpkinFeature extends Feature<NoFeatureConfig>
{ {
if (this.replace.matches(world, pos)) if (this.replace.matches(world, pos))
{ {
this.setBlock(world, pos, state); super.setBlock(world, pos, state);
return true; return true;
} }
return false; return false;

View file

@ -82,7 +82,7 @@ public class BoneSpineFeature extends Feature<NoFeatureConfig>
{ {
if (this.replace.matches(world, pos)) if (this.replace.matches(world, pos))
{ {
this.setBlock(world, pos, state); super.setBlock(world, pos, state);
return true; return true;
} }
return false; return false;

View file

@ -88,7 +88,7 @@ public class NetherVinesFeature extends Feature<NoFeatureConfig>
{ {
if (this.replace.matches(world, pos)) if (this.replace.matches(world, pos))
{ {
this.setBlock(world, pos, state); super.setBlock(world, pos, state);
return true; return true;
} }
return false; return false;