Skip to content

Commit a470680

Browse files
committed
Redo POM to update EssentialsX reference, to avoid PaperLib
1 parent e4e6481 commit a470680

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@
120120
<url>https://repo.codemc.io/repository/bentoboxworld/</url>
121121
</repository>
122122
<repository>
123-
<id>ess-repo</id>
124-
<url>https://ci.ender.zone/plugin/repository/everything/</url>
123+
<id>EssentialsX</id>
124+
<url>https://repo.essentialsx.net/releases/</url>
125125
</repository>
126126
</repositories>
127127

@@ -170,9 +170,9 @@
170170
</dependency>
171171
<!-- EssentialsX -->
172172
<dependency>
173-
<groupId>net.ess3</groupId>
173+
<groupId>net.essentialsx</groupId>
174174
<artifactId>EssentialsX</artifactId>
175-
<version>2.17.2</version>
175+
<version>2.21.1</version>
176176
<scope>provided</scope>
177177
</dependency>
178178
</dependencies>

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import world.bentobox.acidisland.world.AcidBiomeProvider;
2020
import world.bentobox.acidisland.world.AcidTask;
2121
import world.bentobox.acidisland.world.ChunkGeneratorWorld;
22+
import world.bentobox.bentobox.BentoBox;
2223
import world.bentobox.bentobox.api.addons.GameModeAddon;
2324
import world.bentobox.bentobox.api.commands.admin.DefaultAdminCommand;
2425
import world.bentobox.bentobox.api.commands.island.DefaultPlayerCommand;
@@ -156,7 +157,7 @@ private World getWorld(String worldName2, Environment env, @Nullable ChunkGenera
156157
// Set world name
157158
worldName2 = env.equals(World.Environment.NETHER) ? worldName2 + NETHER : worldName2;
158159
worldName2 = env.equals(World.Environment.THE_END) ? worldName2 + THE_END : worldName2;
159-
WorldCreator wc = WorldCreator.name(worldName2).environment(env);
160+
WorldCreator wc = WorldCreator.name(worldName2).environment(env).type(WorldType.NORMAL);
160161
World w = settings.isUseOwnGenerator() ? wc.createWorld() : wc.generator(chunkGenerator2).createWorld();
161162
// Set spawn rates
162163
if (w != null && getSettings() != null) {

0 commit comments

Comments
 (0)