diff --git a/pom.xml b/pom.xml index ca127f4c..c7daa0ec 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ 4.0.0 Jobs jobs - 3.9.2 + 3.9.3 Jobs http://maven.apache.org @@ -16,7 +16,7 @@ org.spigotmc spigot-api - 1.10.2-R0.1-SNAPSHOT + 1.12-R0.1-SNAPSHOT provided @@ -118,9 +118,6 @@ org.apache.maven.plugins maven-jar-plugin 2.3.1 - - C:\Users\Arte\Desktop\Server\plugins - diff --git a/src/main/java/com/gamingmesh/jobs/config/YmlMaker.java b/src/main/java/com/gamingmesh/jobs/config/YmlMaker.java index b7914507..185847af 100644 --- a/src/main/java/com/gamingmesh/jobs/config/YmlMaker.java +++ b/src/main/java/com/gamingmesh/jobs/config/YmlMaker.java @@ -53,8 +53,7 @@ public class YmlMaker { InputStream defConfigStream = this.plugin.getResource(this.fileName); if (defConfigStream != null) { - @SuppressWarnings("deprecation") - YamlConfiguration defConfig = YamlConfiguration.loadConfiguration(defConfigStream); + YamlConfiguration defConfig = YamlConfiguration.loadConfiguration(f); this.Configuration.setDefaults(defConfig); } if (defConfigStream != null) diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index e681e70e..2178fd65 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,7 +1,7 @@ name: Jobs description: Jobs Plugin for the BukkitAPI main: com.gamingmesh.jobs.Jobs -version: 3.9.2 +version: 3.9.3 website: https://www.spigotmc.org/resources/jobs-reborn.4216/ author: phrstbrn softdepend: [Vault, iConomy, MythicMobs, McMMO]