mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-15 04:06:13 +00:00
fix feature context registration
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user