1
0
mirror of https://github.com/Zrips/Jobs.git synced 2025-01-08 01:08:23 +01:00

Lets minimize output and lets record less entries for explorer

This commit is contained in:
Zrips 2018-12-23 16:24:58 +02:00
parent d24cf8f3ae
commit 87e5fb2935
3 changed files with 10 additions and 13 deletions

16
pom.xml
View File

@ -154,14 +154,14 @@
<target>1.7</target> <target>1.7</target>
</configuration> </configuration>
</plugin> </plugin>
<!-- <plugin> --> <plugin>
<!-- <groupId>org.apache.maven.plugins</groupId> --> <groupId>org.apache.maven.plugins</groupId>
<!-- <artifactId>maven-jar-plugin</artifactId> --> <artifactId>maven-jar-plugin</artifactId>
<!-- <version>2.3.1</version> --> <version>2.3.1</version>
<!-- <configuration> --> <configuration>
<!-- <outputDirectory>C:\Users\Arte\Desktop\Server 1.13\plugins</outputDirectory> --> <outputDirectory>C:\Users\Arte\Desktop\Server 1.13\plugins</outputDirectory>
<!-- </configuration> --> </configuration>
<!-- </plugin> --> </plugin>
</plugins> </plugins>
</build> </build>
</project> </project>

View File

@ -369,7 +369,7 @@ public class ConfigManager {
return null; return null;
} }
Jobs.getExplore().setExploreEnabled(); Jobs.getExplore().setExploreEnabled();
Jobs.getExplore().setPlayerAmount(amount + 1); Jobs.getExplore().setPlayerAmount(amount);
} else if (actionType == ActionType.CRAFT && myKey.startsWith("!")) { } else if (actionType == ActionType.CRAFT && myKey.startsWith("!")) {
type = myKey.substring(1, myKey.length()); type = myKey.substring(1, myKey.length());
} else if (actionType == ActionType.DRINK) { } else if (actionType == ActionType.DRINK) {

View File

@ -44,10 +44,7 @@ public class ExploreManager {
return; return;
Jobs.consoleMsg("&e[Jobs] Loading explorer data"); Jobs.consoleMsg("&e[Jobs] Loading explorer data");
Jobs.getJobsDAO().loadExplore(); Jobs.getJobsDAO().loadExplore();
if (getSize() != 0) Jobs.consoleMsg("&e[Jobs] Loaded explorer data" + (getSize() != 0 ? " (" + getSize() + ")" : "."));
Jobs.consoleMsg("&e[Jobs] Loaded explorer data (" + getSize() + ")");
else
Jobs.consoleMsg("&e[Jobs] Loaded explorer data.");
} }
public HashMap<String, ExploreRegion> getWorlds() { public HashMap<String, ExploreRegion> getWorlds() {