Skip to content

Commit e4e6481

Browse files
committed
Remove FLAT from world creation - enable water animals to spawn
BentoBoxWorld/BentoBox#2593
1 parent 7a2e766 commit e4e6481

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
<!-- Do not change unless you want different name for local builds. -->
6262
<build.number>-LOCAL</build.number>
6363
<!-- This allows to change between versions. -->
64-
<build.version>1.20.0</build.version>
64+
<build.version>1.20.1</build.version>
6565
<!-- Sonar Cloud -->
6666
<sonar.projectKey>BentoBoxWorld_AcidIsland</sonar.projectKey>
6767
<sonar.organization>bentobox-world</sonar.organization>

src/main/java/world/bentobox/acidisland/AcidIsland.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ private World getWorld(String worldName2, Environment env, @Nullable ChunkGenera
156156
// Set world name
157157
worldName2 = env.equals(World.Environment.NETHER) ? worldName2 + NETHER : worldName2;
158158
worldName2 = env.equals(World.Environment.THE_END) ? worldName2 + THE_END : worldName2;
159-
WorldCreator wc = WorldCreator.name(worldName2).type(WorldType.FLAT).environment(env);
159+
WorldCreator wc = WorldCreator.name(worldName2).environment(env);
160160
World w = settings.isUseOwnGenerator() ? wc.createWorld() : wc.generator(chunkGenerator2).createWorld();
161161
// Set spawn rates
162162
if (w != null && getSettings() != null) {

0 commit comments

Comments
 (0)