Fixed recursion crash in some generation features
This commit is contained in:
parent
883717a7c1
commit
01eabf4aab
3 changed files with 3 additions and 3 deletions
|
@ -100,7 +100,7 @@ public class BigPumpkinFeature extends Feature<NoFeatureConfig>
|
|||
{
|
||||
if (this.replace.matches(world, pos))
|
||||
{
|
||||
this.setBlock(world, pos, state);
|
||||
super.setBlock(world, pos, state);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
|
@ -82,7 +82,7 @@ public class BoneSpineFeature extends Feature<NoFeatureConfig>
|
|||
{
|
||||
if (this.replace.matches(world, pos))
|
||||
{
|
||||
this.setBlock(world, pos, state);
|
||||
super.setBlock(world, pos, state);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
|
@ -88,7 +88,7 @@ public class NetherVinesFeature extends Feature<NoFeatureConfig>
|
|||
{
|
||||
if (this.replace.matches(world, pos))
|
||||
{
|
||||
this.setBlock(world, pos, state);
|
||||
super.setBlock(world, pos, state);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue