Possibly fix 1.15.1 support. Should fix #1989
This commit is contained in:
parent
147eec26f6
commit
04b8b2f266
1 changed files with 2 additions and 1 deletions
|
@ -27,6 +27,7 @@ package techreborn.world;
|
||||||
import net.minecraft.block.sapling.SaplingGenerator;
|
import net.minecraft.block.sapling.SaplingGenerator;
|
||||||
import net.minecraft.world.gen.feature.BranchedTreeFeatureConfig;
|
import net.minecraft.world.gen.feature.BranchedTreeFeatureConfig;
|
||||||
import net.minecraft.world.gen.feature.ConfiguredFeature;
|
import net.minecraft.world.gen.feature.ConfiguredFeature;
|
||||||
|
|
||||||
import javax.annotation.Nullable;
|
import javax.annotation.Nullable;
|
||||||
import java.util.Random;
|
import java.util.Random;
|
||||||
|
|
||||||
|
@ -34,7 +35,7 @@ public class RubberSaplingGenerator extends SaplingGenerator {
|
||||||
|
|
||||||
//TODO remove with 1.16, backwards compat for 1.15/1.15.1
|
//TODO remove with 1.16, backwards compat for 1.15/1.15.1
|
||||||
@Nullable
|
@Nullable
|
||||||
protected ConfiguredFeature<BranchedTreeFeatureConfig, ?> createTreeFeature(Random random) {
|
protected ConfiguredFeature<BranchedTreeFeatureConfig, ?> method_11430(Random random) {
|
||||||
return createTreeFeature(random, false);
|
return createTreeFeature(random, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue