diff --git a/core/src/main/java/net/momirealms/craftengine/core/font/AbstractFontManager.java b/core/src/main/java/net/momirealms/craftengine/core/font/AbstractFontManager.java index b7789dc4c..bb4c46dd2 100644 --- a/core/src/main/java/net/momirealms/craftengine/core/font/AbstractFontManager.java +++ b/core/src/main/java/net/momirealms/craftengine/core/font/AbstractFontManager.java @@ -368,7 +368,13 @@ public abstract class AbstractFontManager implements FontManager { if (keywords.isEmpty()) { throw new LocalizedResourceConfigException("warning.config.emoji.missing_keywords", path, id); } - String content = section.getOrDefault("content", "").toString(); + Object rawContent = section.getOrDefault("content", ""); + String content; + if (rawContent instanceof List list) { + content = list.stream().map(Object::toString).collect(Collectors.joining()); + } else { + content = rawContent.toString(); + } String image = null; if (section.containsKey("image")) { String rawImage = section.get("image").toString();