mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2024-11-25 11:46:54 +01:00
Merge branch 'development'
This commit is contained in:
commit
8b6605a9bc
2
pom.xml
2
pom.xml
@ -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>
|
||||
|
@ -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