fix feature context registration

This commit is contained in:
dfsek
2022-06-16 02:04:31 -07:00
parent e13f8163a2
commit 355805347b

View File

@@ -87,7 +87,7 @@ public class FeatureGenerationAddon implements AddonInitializer {
featureGenerationStages.forEach(stage -> features.put(stage, template.get(stage.getID(), List.class)));
event.getLoadedObject(Biome.class).getContext().put(new BiomeFeatures(features));
event.getLoadedObject(Biome.class).getContext().put(biomeFeaturesKey, new BiomeFeatures(features));
}
})
.failThrough();