diff options
Diffstat (limited to 'common/src/main/java/dev/isxander/yacl/gui')
-rw-r--r-- | common/src/main/java/dev/isxander/yacl/gui/OptionDescriptionWidget.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/src/main/java/dev/isxander/yacl/gui/OptionDescriptionWidget.java b/common/src/main/java/dev/isxander/yacl/gui/OptionDescriptionWidget.java index 9f0c642..fceb38a 100644 --- a/common/src/main/java/dev/isxander/yacl/gui/OptionDescriptionWidget.java +++ b/common/src/main/java/dev/isxander/yacl/gui/OptionDescriptionWidget.java @@ -81,7 +81,7 @@ public class OptionDescriptionWidget extends AbstractWidget { } if (wrappedText == null) - wrappedText = font.split(description.description().description(), getWidth()); + wrappedText = font.split(description.description().text(), getWidth()); descriptionY = y; for (var line : wrappedText) { @@ -188,7 +188,7 @@ public class OptionDescriptionWidget extends AbstractWidget { protected void updateWidgetNarration(NarrationElementOutput builder) { if (description != null) { builder.add(NarratedElementType.TITLE, description.name()); - builder.add(NarratedElementType.HINT, description.description().description()); + builder.add(NarratedElementType.HINT, description.description().text()); } } |