mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2025-02-24 15:01:44 +01:00
Support for 1.16
you will need MMOLib 1.2!
This commit is contained in:
parent
7bfdc561c3
commit
d5e3b48b03
Binary file not shown.
BIN
lib/spigot.jar
BIN
lib/spigot.jar
Binary file not shown.
@ -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()))
|
||||
|
Loading…
Reference in New Issue
Block a user