Update ForgeFlower (#7857)

This commit is contained in:
Jason Penilla
2022-05-29 12:54:25 -07:00
parent f0b4d5aa22
commit ea9a831a7f
12 changed files with 49 additions and 49 deletions

View File

@@ -37,7 +37,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ public List<StructureStart> startsForFeature(SectionPos sectionPos, ConfiguredStructureFeature<?, ?> configuredStructureFeature, ServerLevelAccessor world) {
+ LongSet longSet = (world == null ? this.level : world).getChunk(sectionPos.x(), sectionPos.z(), ChunkStatus.STRUCTURE_REFERENCES).getReferencesForFeature(configuredStructureFeature);
+ // Paper end - add world option
Builder<StructureStart> builder = ImmutableList.builder();
ImmutableList.Builder<StructureStart> builder = ImmutableList.builder();
this.fillStartsForFeature(configuredStructureFeature, longSet, builder::add);
return builder.build();
@@ -0,0 +0,0 @@ public class StructureFeatureManager {