Bone meal fix
This commit is contained in:
parent
3719ffc3d9
commit
2571ab7ba8
2 changed files with 6 additions and 0 deletions
|
@ -80,6 +80,9 @@ public class BonemealUtil {
|
|||
GrassList list = null;
|
||||
if (map != null) {
|
||||
list = map.get(terrain);
|
||||
if (list == null) {
|
||||
list = GRASS_TYPES.get(terrain);
|
||||
}
|
||||
}
|
||||
else {
|
||||
list = GRASS_TYPES.get(terrain);
|
||||
|
|
|
@ -40,6 +40,9 @@ public class EndBiome {
|
|||
public EndBiome(BiomeDefinition definition) {
|
||||
this.mcID = definition.getID();
|
||||
this.readStructureList();
|
||||
if (structuresFeature != null) {
|
||||
definition.addFeature(structuresFeature);
|
||||
}
|
||||
this.biome = definition.build();
|
||||
this.fogDensity = Configs.BIOME_CONFIG.getFloat(mcID, "fog_density", definition.getFodDensity());
|
||||
this.genChanceUnmutable = Configs.BIOME_CONFIG.getFloat(mcID, "generation_chance", definition.getGenChance());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue