diff --git a/build.gradle b/build.gradle index 0753c05..5c7c759 100644 --- a/build.gradle +++ b/build.gradle @@ -10,7 +10,7 @@ targetCompatibility = 1.8 group = 'me.jamiemansfield.mc' archivesBaseName = project.name.toLowerCase() -version = '1.0.0' +version = '1.0.1' repositories { mavenCentral() diff --git a/src/main/java/me/jamiemansfield/mc/text/serialiser/JsonTextSerialiser.java b/src/main/java/me/jamiemansfield/mc/text/serialiser/JsonTextSerialiser.java index 83585fe..aeaf221 100644 --- a/src/main/java/me/jamiemansfield/mc/text/serialiser/JsonTextSerialiser.java +++ b/src/main/java/me/jamiemansfield/mc/text/serialiser/JsonTextSerialiser.java @@ -58,7 +58,7 @@ public final class JsonTextSerialiser extends TextSerialiser implements JsonSerializer, JsonDeserializer { private static final Gson GSON = new GsonBuilder() - .registerTypeHierarchyAdapter(Text.class, TextSerialisers.JSON) + .registerTypeHierarchyAdapter(Text.class, new JsonTextSerialiser()) .create(); JsonTextSerialiser() {