1
0
mirror of https://github.com/Zrips/Jobs.git synced 2025-01-02 14:29:07 +01:00

Add config data retrieval system for ignoreMaxJobs

This commit is contained in:
LogGitDev 2021-05-05 04:48:10 +10:00 committed by GitHub
parent b5f36fc8da
commit 5cf399f22a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1148,6 +1148,7 @@ public class ConfigManager {
job.setBossbar(bossbar);
job.setRejoinCd(rejoinCd);
job.setMaxLevelCommands(jobSection.getStringList("commands-on-max-level"));
job.setIgnoreMaxJobs(jobSection.getBoolean("ignore-jobs-max", false));
if (jobSection.isConfigurationSection("Quests")) {
List<Quest> quests = new ArrayList<>();