0

fix: Text serialize

This commit is contained in:
2020-08-18 19:31:23 +03:00
parent 70662c5f80
commit 222b20a166

View File

@@ -25,7 +25,7 @@ public class TextSerializer extends StdSerializer<Text> {
gen.writeStringField("text", text.getContent()); gen.writeStringField("text", text.getContent());
if (text.getColor() != null) { if (text.getColor() != null) {
gen.writeStringField("colot", text.getColor().getName()); gen.writeStringField("color", text.getColor().getName());
} }
if (text.getStyle() != null) { if (text.getStyle() != null) {