From 2cea70e643e667d577f9c09e49511111ecfe63d3 Mon Sep 17 00:00:00 2001 From: KennyTV Date: Mon, 29 Jun 2020 10:01:27 +0200 Subject: [PATCH] Fix chat meta conversion Fixes #213 --- .../protocol1_12_2to1_13/packets/EntityPackets1_13.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/nl/matsv/viabackwards/protocol/protocol1_12_2to1_13/packets/EntityPackets1_13.java b/core/src/main/java/nl/matsv/viabackwards/protocol/protocol1_12_2to1_13/packets/EntityPackets1_13.java index 441ef4cc..6c9e36b5 100644 --- a/core/src/main/java/nl/matsv/viabackwards/protocol/protocol1_12_2to1_13/packets/EntityPackets1_13.java +++ b/core/src/main/java/nl/matsv/viabackwards/protocol/protocol1_12_2to1_13/packets/EntityPackets1_13.java @@ -323,7 +323,7 @@ public class EntityPackets1_13 extends LegacyEntityRewriter { Metadata meta = e.getData(); - String value = (String) meta.getValue(); + String value = meta.getValue().toString(); if (value.isEmpty()) return meta; meta.setValue(ChatRewriter.jsonTextToLegacy(value)); return meta;