mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-02-16 10:30:53 +00:00
build headless biome cache at creation
This commit is contained in:
@@ -73,8 +73,14 @@ public class Headless implements IHeadless, LevelHeightAccessor {
|
||||
if (!biome.isCustom()) continue;
|
||||
for (var custom : biome.getCustomDerivitives()) {
|
||||
binding.registerBiome(dimKey, custom, false);
|
||||
customBiomes.put(custom.getId(), binding.getBiomeHolder(dimKey, custom.getId()));
|
||||
}
|
||||
}
|
||||
for (var biome : org.bukkit.block.Biome.values()) {
|
||||
if (biome == org.bukkit.block.Biome.CUSTOM) continue;
|
||||
var key = biome.getKey();
|
||||
minecraftBiomes.put(key, binding.getBiomeHolder(key.getNamespace(), key.getKey()));
|
||||
}
|
||||
ServerConfigurator.dumpDataPack();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user