Support for 1.16

you will need MMOLib 1.2!
This commit is contained in:
ASangarin 2020-06-25 16:27:15 +02:00
parent 7bfdc561c3
commit d5e3b48b03
3 changed files with 1 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -78,7 +78,7 @@ public class WorldGenTemplate {
return false;
// check biome list
Biome biome = pos.getWorld().getBiome(pos.getBlockX(), pos.getBlockZ());
Biome biome = pos.getWorld().getBiome(pos.getBlockX(), pos.getBlockY(), pos.getBlockZ());
if (!biomeWhitelist.isEmpty() && !biomeWhitelist.contains(biome.name()))
return false;
if (!biomeBlacklist.isEmpty() && biomeBlacklist.contains(biome.name()))