diff --git a/pom.xml b/pom.xml index 9b96e5ad..ddf9cce8 100644 --- a/pom.xml +++ b/pom.xml @@ -154,14 +154,14 @@ 1.7 - - - - - - - - + + org.apache.maven.plugins + maven-jar-plugin + 2.3.1 + + C:\Users\Arte\Desktop\Server 1.13\plugins + + diff --git a/src/main/java/com/gamingmesh/jobs/config/ConfigManager.java b/src/main/java/com/gamingmesh/jobs/config/ConfigManager.java index 2d22770d..fe035dbe 100644 --- a/src/main/java/com/gamingmesh/jobs/config/ConfigManager.java +++ b/src/main/java/com/gamingmesh/jobs/config/ConfigManager.java @@ -369,7 +369,7 @@ public class ConfigManager { return null; } Jobs.getExplore().setExploreEnabled(); - Jobs.getExplore().setPlayerAmount(amount + 1); + Jobs.getExplore().setPlayerAmount(amount); } else if (actionType == ActionType.CRAFT && myKey.startsWith("!")) { type = myKey.substring(1, myKey.length()); } else if (actionType == ActionType.DRINK) { diff --git a/src/main/java/com/gamingmesh/jobs/config/ExploreManager.java b/src/main/java/com/gamingmesh/jobs/config/ExploreManager.java index de6034b2..1115cd15 100644 --- a/src/main/java/com/gamingmesh/jobs/config/ExploreManager.java +++ b/src/main/java/com/gamingmesh/jobs/config/ExploreManager.java @@ -44,10 +44,7 @@ public class ExploreManager { return; Jobs.consoleMsg("&e[Jobs] Loading explorer data"); Jobs.getJobsDAO().loadExplore(); - if (getSize() != 0) - Jobs.consoleMsg("&e[Jobs] Loaded explorer data (" + getSize() + ")"); - else - Jobs.consoleMsg("&e[Jobs] Loaded explorer data."); + Jobs.consoleMsg("&e[Jobs] Loaded explorer data" + (getSize() != 0 ? " (" + getSize() + ")" : ".")); } public HashMap getWorlds() {