diff --git a/pom.xml b/pom.xml
index 850cdf1e..4f5740e7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -21,13 +21,6 @@
1.16.3-R0.1-SNAPSHOT
provided
-
-
- de.keyle
- mypet
- 3.10
- provided
-
com.gmail.nossr50.mcMMO
@@ -39,8 +32,8 @@
net.milkbowl.vault
- Vault
- 1.7.3
+ VaultAPI
+ 1.7
provided
@@ -136,6 +129,7 @@
+
me.clip
placeholderapi
@@ -148,23 +142,27 @@
+
com.github.OmerBenGera
WildStackerAPI
master-SNAPSHOT
+
com.github.Nathat23
StackMob-5
master-SNAPSHOT
+
+
+ de.keyle
+ mypet
+ 3.10
+ provided
+
-
-
- sk89q-repo
- http://maven.sk89q.com/repo/
-
spigot-repo
@@ -175,7 +173,17 @@
vault-repo
http://nexus.hc.to/content/repositories/pub_releases/
-
+
+
+ nexus
+ Lumine Releases
+ https://mvn.lumine.io/repository/maven-public/
+
+
+
+ sk89q-repo
+ http://maven.sk89q.com/repo/
+
jitpack.io
https://jitpack.io
@@ -194,17 +202,7 @@
mypet-repo
http://repo.keyle.de/
-
- always
-
-
-
- nexus
- Lumine Releases
- https://mvn.lumine.io/repository/maven-public/
-
-
diff --git a/src/main/java/com/gamingmesh/jobs/CMILib/ConfigReader.java b/src/main/java/com/gamingmesh/jobs/CMILib/ConfigReader.java
index 6dabf439..ea5caecb 100644
--- a/src/main/java/com/gamingmesh/jobs/CMILib/ConfigReader.java
+++ b/src/main/java/com/gamingmesh/jobs/CMILib/ConfigReader.java
@@ -226,9 +226,8 @@ public class ConfigReader extends YamlConfiguration {
str.close();
} catch (FileNotFoundException e) {
} catch (InvalidConfigurationException | IOException e) {
- e.printStackTrace();
saveToBackup();
- throw e;
+ System.out.println(e.getLocalizedMessage());
} finally {
if (fileinputstream != null)
try {
diff --git a/src/main/java/com/gamingmesh/jobs/config/ConfigManager.java b/src/main/java/com/gamingmesh/jobs/config/ConfigManager.java
index eea73be7..6592de34 100644
--- a/src/main/java/com/gamingmesh/jobs/config/ConfigManager.java
+++ b/src/main/java/com/gamingmesh/jobs/config/ConfigManager.java
@@ -392,9 +392,12 @@ public class ConfigManager {
if (myKey.contains("-")) {
// uses subType
- subType = ":" + myKey.split("-")[1];
- meta = myKey.split("-")[1];
- myKey = myKey.split("-")[0];
+ String[] split = myKey.split("-");
+ if (split.length == 2) {
+ subType = ":" + split[1];
+ meta = split[1];
+ myKey = split[0];
+ }
} else if (myKey.contains(":")) { // when we uses tipped arrow effect types
String[] split = myKey.split(":");
meta = split.length > 1 ? split[1] : myKey;