Skip to content

Commit 876facc

Browse files
authored
Merge pull request #164 from BentoBoxWorld/develop
Release 1.20.1
2 parents a24735b + 8f951cb commit 876facc

File tree

5 files changed

+24
-13
lines changed

5 files changed

+24
-13
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- run: mvn --batch-mode clean org.jacoco:jacoco-maven-plugin:prepare-agent install
3939
- run: mkdir staging && cp target/*.jar staging
4040
- name: Save artifacts
41-
uses: actions/upload-artifact@v3
41+
uses: actions/upload-artifact@v4
4242
with:
4343
name: Package
4444
path: staging

pom.xml

Lines changed: 12 additions & 5 deletions
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>
@@ -111,6 +111,13 @@
111111
</profiles>
112112

113113
<repositories>
114+
<repository>
115+
<id>papermc-public</id>
116+
<name>PaperMC Official</name>
117+
<url>https://repo.papermc.io/repository/maven-public/</url>
118+
<releases><enabled>true</enabled></releases>
119+
<snapshots><enabled>false</enabled></snapshots>
120+
</repository>
114121
<repository>
115122
<id>spigot-repo</id>
116123
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots</url>
@@ -120,8 +127,8 @@
120127
<url>https://repo.codemc.io/repository/bentoboxworld/</url>
121128
</repository>
122129
<repository>
123-
<id>ess-repo</id>
124-
<url>https://ci.ender.zone/plugin/repository/everything/</url>
130+
<id>EssentialsX</id>
131+
<url>https://repo.essentialsx.net/releases/</url>
125132
</repository>
126133
</repositories>
127134

@@ -170,9 +177,9 @@
170177
</dependency>
171178
<!-- EssentialsX -->
172179
<dependency>
173-
<groupId>net.ess3</groupId>
180+
<groupId>net.essentialsx</groupId>
174181
<artifactId>EssentialsX</artifactId>
175-
<version>2.17.2</version>
182+
<version>2.21.1</version>
176183
<scope>provided</scope>
177184
</dependency>
178185
</dependencies>

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

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
package world.bentobox.acidisland;
22

3-
import java.util.*;
3+
import java.util.ArrayList;
4+
import java.util.Collections;
5+
import java.util.HashMap;
6+
import java.util.HashSet;
7+
import java.util.List;
8+
import java.util.Map;
9+
import java.util.Set;
410

511
import org.bukkit.Difficulty;
612
import org.bukkit.GameMode;
@@ -9,15 +15,15 @@
915
import org.bukkit.entity.EntityType;
1016
import org.bukkit.potion.PotionEffectType;
1117

12-
import com.google.common.base.Enums;
13-
1418
import world.bentobox.bentobox.BentoBox;
1519
import world.bentobox.bentobox.api.configuration.ConfigComment;
1620
import world.bentobox.bentobox.api.configuration.ConfigEntry;
1721
import world.bentobox.bentobox.api.configuration.StoreAt;
1822
import world.bentobox.bentobox.api.configuration.WorldSettings;
1923
import world.bentobox.bentobox.api.flags.Flag;
20-
import world.bentobox.bentobox.database.objects.adapters.*;
24+
import world.bentobox.bentobox.database.objects.adapters.Adapter;
25+
import world.bentobox.bentobox.database.objects.adapters.FlagBooleanSerializer;
26+
import world.bentobox.bentobox.database.objects.adapters.PotionEffectListAdapter;
2127

2228

2329
/**

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).type(WorldType.NORMAL);
160160
World w = settings.isUseOwnGenerator() ? wc.createWorld() : wc.generator(chunkGenerator2).createWorld();
161161
// Set spawn rates
162162
if (w != null && getSettings() != null) {

src/test/java/world/bentobox/acidisland/AISettingsTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
import org.junit.Ignore;
2020
import org.junit.Test;
2121
import org.junit.runner.RunWith;
22-
import org.mockito.Mockito;
23-
import org.powermock.api.mockito.PowerMockito;
2422
import org.powermock.core.classloader.annotations.PrepareForTest;
2523
import org.powermock.modules.junit4.PowerMockRunner;
2624

0 commit comments

Comments
 (0)