diff --git a/src/main/java/io/github/cottonmc/cotton/gui/widget/WDynamicLabel.java b/src/main/java/io/github/cottonmc/cotton/gui/widget/WDynamicLabel.java index da6cafbc..1042e72b 100644 --- a/src/main/java/io/github/cottonmc/cotton/gui/widget/WDynamicLabel.java +++ b/src/main/java/io/github/cottonmc/cotton/gui/widget/WDynamicLabel.java @@ -84,7 +84,7 @@ public boolean getDrawShadows() { } /** - * Sets whether shadows should be drawn for this labbel. + * Sets whether shadows should be drawn for this label. * * @param drawShadows {@code true} if shadows should be drawn, {@code false} otherwise * @return this label diff --git a/src/main/java/io/github/cottonmc/cotton/gui/widget/WLabel.java b/src/main/java/io/github/cottonmc/cotton/gui/widget/WLabel.java index cfbb0775..b491ef3b 100644 --- a/src/main/java/io/github/cottonmc/cotton/gui/widget/WLabel.java +++ b/src/main/java/io/github/cottonmc/cotton/gui/widget/WLabel.java @@ -192,7 +192,7 @@ public boolean getDrawShadows() { } /** - * Sets whether shadows should be drawn for this labbel. + * Sets whether shadows should be drawn for this label. * * @param drawShadows {@code true} if shadows should be drawn, {@code false} otherwise * @return this label diff --git a/src/main/java/io/github/cottonmc/cotton/gui/widget/WText.java b/src/main/java/io/github/cottonmc/cotton/gui/widget/WText.java index aca624f0..79ac7e8a 100644 --- a/src/main/java/io/github/cottonmc/cotton/gui/widget/WText.java +++ b/src/main/java/io/github/cottonmc/cotton/gui/widget/WText.java @@ -128,7 +128,7 @@ public InputResult onClick(int x, int y, int button) { } /** - * Gets the text of this label. + * Gets the text of this text widget. * * @return the text */ @@ -137,10 +137,10 @@ public Text getText() { } /** - * Sets the text of this label. + * Sets the text of this text widget. * * @param text the new text - * @return this label + * @return this text widget */ public WText setText(Text text) { Objects.requireNonNull(text, "text is null"); @@ -151,7 +151,7 @@ public WText setText(Text text) { } /** - * Gets the light mode color of this label. + * Gets the light mode color of this text widget. * * @return the color */ @@ -160,7 +160,7 @@ public int getColor() { } /** - * Sets the light mode color of this label. + * Sets the light mode color of this text widget. * * @param color the new color * @return this text widget @@ -171,7 +171,7 @@ public WText setColor(int color) { } /** - * Gets the dark mode color of this label. + * Gets the dark mode color of this text widget. * * @return the color * @since 2.0.0 @@ -181,7 +181,7 @@ public int getDarkmodeColor() { } /** - * Sets the dark mode color of this label. + * Sets the dark mode color of this text widget. * * @param darkmodeColor the new color * @return this text widget @@ -192,7 +192,7 @@ public WText setDarkmodeColor(int darkmodeColor) { } /** - * Sets the light and dark mode colors of this label. + * Sets the light and dark mode colors of this text widget. * * @param color the new light color * @param darkmodeColor the new dark color @@ -205,7 +205,7 @@ public WText setColor(int color, int darkmodeColor) { } /** - * Checks whether shadows should be drawn for this label. + * Checks whether shadows should be drawn for this text widget. * * @return {@code true} shadows should be drawn, {@code false} otherwise * @since 11.1.0 @@ -218,7 +218,7 @@ public boolean getDrawShadows() { * Sets whether shadows should be drawn for this labbel. * * @param drawShadows {@code true} if shadows should be drawn, {@code false} otherwise - * @return this label + * @return this text widget * @since 11.1.0 */ public WText setDrawShadows(boolean drawShadows) {