mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-06-18 14:50:56 +00:00
fix feature context registration
This commit is contained in:
+1
-1
@@ -87,7 +87,7 @@ public class FeatureGenerationAddon implements AddonInitializer {
|
|||||||
|
|
||||||
featureGenerationStages.forEach(stage -> features.put(stage, template.get(stage.getID(), List.class)));
|
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();
|
.failThrough();
|
||||||
|
|||||||
Reference in New Issue
Block a user