Merge branch 'development'

This commit is contained in:
Fernando Pettinelli 2021-01-02 16:19:55 -03:00
commit 8b6605a9bc
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.songoda</groupId>
<artifactId>skyblock</artifactId>
<version>2.3.21</version>
<version>2.3.22</version>
<packaging>jar</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

View File

@ -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;