diff --git a/pom.xml b/pom.xml index d3c2b620..154c5b74 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ 4.0.0 Jobs jobs - 5.2.2.0 + 5.2.2.1 Jobs http://maven.apache.org @@ -19,7 +19,7 @@ io.papermc.paper paper-api - 1.20.1-R0.1-SNAPSHOT + 1.20.4-R0.1-SNAPSHOT provided diff --git a/src/main/java/com/gamingmesh/jobs/config/ConfigManager.java b/src/main/java/com/gamingmesh/jobs/config/ConfigManager.java index 83dcfa98..f8c79c52 100644 --- a/src/main/java/com/gamingmesh/jobs/config/ConfigManager.java +++ b/src/main/java/com/gamingmesh/jobs/config/ConfigManager.java @@ -1550,12 +1550,14 @@ public class ConfigManager { jobInfo.add(new JobInfo(actionType, id, meta, type + subType, income, incomeEquation, experience, expEquation, pointsEquation, points, 1, -1, typeSection.getCurrentPath(), null, null, null)); } - job.setJobInfo(actionType, jobInfo); - continue; } for (String key : typeSection.getKeys(false)) { + + if (key.equalsIgnoreCase("materials")) + continue; + ConfigurationSection section = typeSection.getConfigurationSection(key); if (section == null) { continue;