From af3b6612b11183483498d950bd3abb1b4d387356 Mon Sep 17 00:00:00 2001 From: Eric Date: Tue, 16 Aug 2016 19:59:45 +0200 Subject: [PATCH] Fixed version and JsonBuilder --- pom.xml | 2 +- src/main/java/de/epiceric/shopchest/nms/JsonBuilder.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index f9c2819..42b30fb 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ de.epiceric ShopChest jar - 1.10 + 1.10.0 ShopChest https://www.spigotmc.org/resources/shopchest.11431/ Let your players create their own nice-looking shops to sell their stuff to other players! diff --git a/src/main/java/de/epiceric/shopchest/nms/JsonBuilder.java b/src/main/java/de/epiceric/shopchest/nms/JsonBuilder.java index 872fbb7..74f3b1b 100644 --- a/src/main/java/de/epiceric/shopchest/nms/JsonBuilder.java +++ b/src/main/java/de/epiceric/shopchest/nms/JsonBuilder.java @@ -25,7 +25,7 @@ public class JsonBuilder { if (Utils.getServerVersion().equals("v1_8_R1")) { chatSerializerClass = Utils.getNMSClass("ChatSerializer"); } else { - chatSerializerClass = Utils.getNMSClass("ChatBaseComponent$ChatSerializer"); + chatSerializerClass = Utils.getNMSClass("IChatBaseComponent$ChatSerializer"); } Class[] requiredClasses = new Class[] {