diff --git a/pom.xml b/pom.xml index b2fcc9d..46aa208 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ me.clip placeholderapi - 2.9.1-DEV-${BUILD_NUMBER} + 2.9.2 PlaceholderAPI An awesome placeholder provider! http://extendedclip.com @@ -34,9 +34,14 @@ org.spigotmc spigot-api - 1.13-R0.1-SNAPSHOT + 1.13.1-R0.1-SNAPSHOT provided + + com.google.code.gson + gson + 2.8.5 + org.bstats bstats-bukkit @@ -94,6 +99,10 @@ me.rayzr522 me.clip.placeholderapi.util + + com.google.code.gson + me.clip.placeholderapi.libs.gson + diff --git a/src/main/java/me/clip/placeholderapi/expansion/ExpansionManager.java b/src/main/java/me/clip/placeholderapi/expansion/ExpansionManager.java index 95cf8c8..2bfeaca 100644 --- a/src/main/java/me/clip/placeholderapi/expansion/ExpansionManager.java +++ b/src/main/java/me/clip/placeholderapi/expansion/ExpansionManager.java @@ -44,10 +44,7 @@ public final class ExpansionManager { plugin = instance; File f = new File(PlaceholderAPIPlugin.getInstance().getDataFolder(), "expansions"); if (!f.exists()) { - if (!f.mkdir()) { - PlaceholderAPIPlugin.getInstance().getLogger() - .severe("Failed to create expansions folder!"); - } + f.mkdirs(); } } diff --git a/src/main/java/me/clip/placeholderapi/expansion/NMSVersion.java b/src/main/java/me/clip/placeholderapi/expansion/NMSVersion.java index 9434170..7bad7cd 100644 --- a/src/main/java/me/clip/placeholderapi/expansion/NMSVersion.java +++ b/src/main/java/me/clip/placeholderapi/expansion/NMSVersion.java @@ -35,7 +35,8 @@ public enum NMSVersion { SPIGOT_1_10_R1("v1_10_R1"), SPIGOT_1_11_R1("v1_11_R1"), SPIGOT_1_12_R1("v1_12_R1"), - SPIGOT_1_13_R1("v1_13_R1"); + SPIGOT_1_13_R1("v1_13_R1"), + SPIGOT_1_13_R2("v1_13_R2"); private String version;