Merge pull request #365 from CocoTheOwner/fixCustomField

Undo a change that breaks when Biome.CUSTOM is not a field on your MC Distribution
This commit is contained in:
Dan 2021-06-09 08:47:03 -04:00 committed by GitHub
commit 5dfd46f809
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -242,7 +242,7 @@ public class DirectWorldWriter {
for(Biome biome : Biome.values())
{
if (biome != Biome.CUSTOM) {
if (!biome.name().equals("CUSTOM")) {
biomeIds.put(biome, INMS.get().getBiomeId(biome));
}
}