1
0
mirror of https://github.com/Zrips/Jobs.git synced 2025-01-04 23:37:49 +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>
</configuration>
</plugin>
<!-- <plugin> -->
<!-- <groupId>org.apache.maven.plugins</groupId> -->
<!-- <artifactId>maven-jar-plugin</artifactId> -->
<!-- <version>2.3.1</version> -->
<!-- <configuration> -->
<!-- <outputDirectory>C:\Users\Arte\Desktop\Server 1.13\plugins</outputDirectory> -->
<!-- </configuration> -->
<!-- </plugin> -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.1</version>
<configuration>
<outputDirectory>C:\Users\Arte\Desktop\Server 1.13\plugins</outputDirectory>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@ -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) {

View File

@ -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<String, ExploreRegion> getWorlds() {