Skip to content

Commit 4c3b7fc

Browse files
fix(minecraft-extras): withColors -> colors (#26)
<!-- readthedocs-preview incendocloud start --> ---- 📚 Documentation preview 📚: https://incendocloud--26.org.readthedocs.build/en/26/ <!-- readthedocs-preview incendocloud end -->
1 parent 7f77af7 commit 4c3b7fc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/minecraft/minecraft-extras.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ or you may override the defaults by using a builder:
101101
.commandManager(commandManager)
102102
.audienceProvider(AudienceProvider.nativeProvider())
103103
.commandPrefix("/helpcommand")
104-
.withColors(MinecraftHelp.helpColors(/* colors... */))
104+
.colors(MinecraftHelp.helpColors(/* colors... */))
105105
/* other settings... */
106106
.build();
107107
```
@@ -113,7 +113,7 @@ or you may override the defaults by using a builder:
113113
.commandManager(commandManager)
114114
.audienceProvider(yourAudienceProvider)
115115
.commandPrefix("/helpcommand")
116-
.withColors(MinecraftHelp.helpColors(/* colors... */))
116+
.colors(MinecraftHelp.helpColors(/* colors... */))
117117
/* other settings... */
118118
.build();
119119
```

0 commit comments

Comments
 (0)