fix BIOME: alias in BiomeZones

This commit is contained in:
dfsek
2020-10-25 22:33:51 -07:00
parent 4c0bb1a5eb
commit f198b371e0

View File

@@ -127,6 +127,7 @@ public class ConfigPack extends YamlConfiguration {
for(String biome : biomeList) {
if(getBiomeGrid(biome) == null) {
if(biome.startsWith("BIOME:") && biomes.containsKey(biome.substring(6))) continue;
throw new ConfigException("No such BiomeGrid: " + biome, getID());
}
}