From e2423cdd70fae0069af250af669597a71c1e4a25 Mon Sep 17 00:00:00 2001 From: darbyjack Date: Sun, 26 Aug 2018 14:37:17 -0500 Subject: [PATCH 1/6] Added support to versions less than 1.8.3 --- pom.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pom.xml b/pom.xml index b2fcc9d..2b815f9 100644 --- a/pom.xml +++ b/pom.xml @@ -49,6 +49,12 @@ 1.0.0 compile + + com.google.code.gson + gson + 2.8.0 + compile + From efa97ce049f4847f60f1e26e9d2a57fba65e847e Mon Sep 17 00:00:00 2001 From: darbyjack Date: Sun, 26 Aug 2018 14:46:05 -0500 Subject: [PATCH 2/6] Undone for time being --- pom.xml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pom.xml b/pom.xml index 2b815f9..b2fcc9d 100644 --- a/pom.xml +++ b/pom.xml @@ -49,12 +49,6 @@ 1.0.0 compile - - com.google.code.gson - gson - 2.8.0 - compile - From 197aa5dfe0ad3b76f6dbcc6ec3944bdcceb5a066 Mon Sep 17 00:00:00 2001 From: extendedclip Date: Sun, 26 Aug 2018 22:58:02 -0400 Subject: [PATCH 3/6] Added 1.13 R2 NMS to the enum --- src/main/java/me/clip/placeholderapi/expansion/NMSVersion.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; From 0bfd42d60765f9a4ae18abf68d5a2248a057f4ee Mon Sep 17 00:00:00 2001 From: extendedclip Date: Sun, 26 Aug 2018 23:56:37 -0400 Subject: [PATCH 4/6] Set 1.13.1 Spigot API as dependency, Shade and relocate GSON --- pom.xml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index b2fcc9d..197ed2f 100644 --- a/pom.xml +++ b/pom.xml @@ -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 + From c205a9a1b97f9c5243ede46651b2bcc1d72d51cc Mon Sep 17 00:00:00 2001 From: extendedclip Date: Mon, 27 Aug 2018 00:05:51 -0400 Subject: [PATCH 5/6] Just make the damn directory --- .../me/clip/placeholderapi/expansion/ExpansionManager.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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(); } } From d0b4669d1feb54f7586aabe3433822ca9d584aa9 Mon Sep 17 00:00:00 2001 From: extendedclip Date: Mon, 27 Aug 2018 00:08:16 -0400 Subject: [PATCH 6/6] Update to 2.9.2 release --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 197ed2f..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