From 87e5fb29359fba42f673f1070ea9caa3d5e628e3 Mon Sep 17 00:00:00 2001 From: Zrips Date: Sun, 23 Dec 2018 16:24:58 +0200 Subject: [PATCH] Lets minimize output and lets record less entries for explorer --- pom.xml | 16 ++++++++-------- .../gamingmesh/jobs/config/ConfigManager.java | 2 +- .../gamingmesh/jobs/config/ExploreManager.java | 5 +---- 3 files changed, 10 insertions(+), 13 deletions(-) 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() {