diff --git a/.gitignore b/.gitignore
index 46270ec..673d375 100755
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
-# Project exclude paths
-/target/
-/.idea/
\ No newline at end of file
+.idea
+*.iml
+target/
+.flattened-pom.xml
\ No newline at end of file
diff --git a/.run/Build.run.xml b/.run/Build.run.xml
new file mode 100644
index 0000000..a3fa402
--- /dev/null
+++ b/.run/Build.run.xml
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/dependency-reduced-pom.xml b/dependency-reduced-pom.xml
index 1ac13ad..6eab13e 100644
--- a/dependency-reduced-pom.xml
+++ b/dependency-reduced-pom.xml
@@ -16,14 +16,14 @@
maven-compiler-plugin
- 3.8.1
+ 3.11.0
11
maven-shade-plugin
- 3.2.4
+ 3.5.1
package
@@ -82,48 +82,53 @@
sk89q-repo
https://maven.enginehub.org/repo/
+
+ sbdevelopment-repo-releases
+ SBDevelopment Repository
+ https://repo.sbdevelopment.tech/releases
+
org.spigotmc
spigot-api
- 1.14.4-R0.1-SNAPSHOT
+ 1.20.2-R0.1-SNAPSHOT
provided
me.clip
placeholderapi
- 2.10.9
+ 2.11.4
provided
net.kyori
adventure-text-serializer-bungeecord
- 4.0.1
+ 4.3.1
provided
net.kyori
adventure-platform-viaversion
- 4.0.1
+ 4.3.1
provided
net.kyori
adventure-platform-facet
- 4.0.1
+ 4.3.1
provided
com.bergerkiller.bukkit
TrainCarts
- 1.16.5-v1
+ 1.20.1-v2
provided
com.bergerkiller.bukkit
BKCommonLib
- 1.16.5-v1
+ 1.20.1-v3
provided
diff --git a/pom.xml b/pom.xml
index 1fabb68..bd0330a 100755
--- a/pom.xml
+++ b/pom.xml
@@ -35,13 +35,18 @@
sk89q-repo
https://maven.enginehub.org/repo/
+
+ sbdevelopment-repo-releases
+ SBDevelopment Repository
+ https://repo.sbdevelopment.tech/releases
+
org.spigotmc
spigot-api
- 1.14.4-R0.1-SNAPSHOT
+ 1.20.2-R0.1-SNAPSHOT
provided
diff --git a/src/main/java/nl/iobyte/themepark/api/config/objects/JsonConfiguration.java b/src/main/java/nl/iobyte/themepark/api/config/objects/JsonConfiguration.java
index a2a9dd5..14c56ef 100755
--- a/src/main/java/nl/iobyte/themepark/api/config/objects/JsonConfiguration.java
+++ b/src/main/java/nl/iobyte/themepark/api/config/objects/JsonConfiguration.java
@@ -2,7 +2,6 @@ package nl.iobyte.themepark.api.config.objects;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
-import org.apache.commons.lang.Validate;
import org.bukkit.Bukkit;
import org.bukkit.configuration.ConfigurationSection;
import org.bukkit.configuration.InvalidConfigurationException;
@@ -28,8 +27,6 @@ public class JsonConfiguration extends FileConfiguration {
@Override
public void loadFromString(@NotNull String contents) throws InvalidConfigurationException {
- Validate.notNull(contents, "Contents cannot be null");
-
Map input;
try {
input = this.gson.fromJson(contents, Map.class);
@@ -65,7 +62,6 @@ public class JsonConfiguration extends FileConfiguration {
@NotNull
public static YamlConfiguration loadConfiguration(@NotNull File file) {
- Validate.notNull(file, "File cannot be null");
YamlConfiguration config = new YamlConfiguration();
try {