Skip to content

Commit f4766b0

Browse files
committed
Fix #519
1 parent 358f832 commit f4766b0

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/com/minelittlepony/unicopia/server/world

1 file changed

+1
-1
lines changed

src/main/java/com/minelittlepony/unicopia/server/world/Tree.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public Builder dimensions(int yLevel, int sizeBelowY, int sizeAboveY) {
132132

133133
public Tree build() {
134134
RegistryKey<ConfiguredFeature<?, ?>> configuredFeatureId = RegistryKey.of(RegistryKeys.CONFIGURED_FEATURE, id);
135-
Optional<Block> sapling = saplingId.map(id -> UBlocks.register(id, saplingConstructor.apply(new SaplingGenerator(id.toString(), Optional.of(configuredFeatureId), Optional.empty(), Optional.empty()), FabricBlockSettings.copy(Blocks.OAK_SAPLING)), ItemGroups.NATURAL));
135+
Optional<Block> sapling = saplingId.map(id -> UBlocks.register(id, saplingConstructor.apply(new SaplingGenerator(id.toString(), Optional.empty(), Optional.of(configuredFeatureId), Optional.empty()), FabricBlockSettings.copy(Blocks.OAK_SAPLING)), ItemGroups.NATURAL));
136136
Tree tree = new Tree(id, configParameters.apply(new TreeFeatureConfig.Builder(
137137
BlockStateProvider.of(logType),
138138
trunkPlacer,

0 commit comments

Comments
 (0)