mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2024-11-25 11:46:54 +01:00
Fixed plugin being disabled on older versions.
This commit is contained in:
parent
a6c8bfc05e
commit
94f0e54c91
@ -39,7 +39,7 @@ public class VoidGenerator extends ChunkGenerator {
|
||||
switch (world.getEnvironment()) {
|
||||
case NORMAL:
|
||||
biome = Arrays.stream(CompatibleBiome.values())
|
||||
.filter(compatibleBiome -> compatibleBiome.getBiome().name().equals(configLoad.getString("Island.Biome.Default.Type", "PLAINS").toUpperCase()))
|
||||
.filter(compatibleBiome -> compatibleBiome.name().equals(configLoad.getString("Island.Biome.Default.Type", "PLAINS").toUpperCase()) && compatibleBiome.isCompatible())
|
||||
.findFirst()
|
||||
.orElse(CompatibleBiome.PLAINS).getBiome();
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user