diff --git a/api/src/main/java/net/kyori/adventure/text/format/StyleImpl.java b/api/src/main/java/net/kyori/adventure/text/format/StyleImpl.java index c090b5411..6f4c0a89d 100644 --- a/api/src/main/java/net/kyori/adventure/text/format/StyleImpl.java +++ b/api/src/main/java/net/kyori/adventure/text/format/StyleImpl.java @@ -287,6 +287,12 @@ public int hashCode() { return result; } + @Override + public String toString() { + return "StyleImpl{font=%s, color=%s, shadowColor=%s, decorations=%s, clickEvent=%s, hoverEvent=%s, insertion=%s}" + .formatted(this.font, this.color, this.shadowColor, this.decorations, this.clickEvent, this.hoverEvent, this.insertion); + } + static final class BuilderImpl implements Builder { @Nullable Key font; @Nullable TextColor color;