Skip to content

Commit 1a06038

Browse files
committed
update component usage docs
1 parent e3f1a9f commit 1a06038

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs/developers/modules/hologram.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public void resetHologramsExample(Player viewer) {
8888
)
8989
```
9090

91-
`.lines(Component)` should be a string, or an Adventure `Component`. See the [chat components](https://docs.advntr.dev/text.html) page for more.
91+
`.lines(Component)` is using the Adventure `Component`. See the [chat components](https://docs.advntr.dev/text.html) page for more.
9292

9393
```java
9494
.lines(List.of(

docs/developers/modules/nametag.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public void resetNametagsExample(Player viewer) {
8181

8282
### `Nametag` Options
8383

84-
`.lines(Component)` should be a string, or an Adventure `Component`. See the [chat components](https://docs.advntr.dev/text.html) page for more.
84+
`.lines(Component)` is using the Adventure `Component`. See the [chat components](https://docs.advntr.dev/text.html) page for more.
8585

8686
```java
8787
.lines(List.of(

docs/developers/modules/serverlink.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public void resetServerLinksExample(Player viewer) {
104104
.id("website")
105105
```
106106

107-
`.displayName(String)` is the public-facing name of the server link. It should contain a string or an Adventure `Component`. See the [chat components](https://docs.advntr.dev/text.html) page for more.
107+
`.displayName(Component)` is the public-facing name of the server link. It should contain an Adventure `Component`. See the [chat components](https://docs.advntr.dev/text.html) page for more.
108108

109109
```java
110110
.displayName(Component.text("Website", NamedTextColor.LIGHT_PURPLE))

0 commit comments

Comments
 (0)