mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-22 08:07:51 +00:00
fix feature context registration
This commit is contained in:
1 parent
e13f8163a2
commit
355805347b
1 file changed
+1
-1
+1
-1
@@ -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