Skip to content

Commit

Permalink
fix(minecraft-extras): withColors -> colors (#26)
Browse files Browse the repository at this point in the history
<!-- readthedocs-preview incendocloud start -->
----
πŸ“š Documentation preview πŸ“š:
https://incendocloud--26.org.readthedocs.build/en/26/

<!-- readthedocs-preview incendocloud end -->
  • Loading branch information
richardwhateverr authored Jan 28, 2024
1 parent 7f77af7 commit 4c3b7fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/minecraft/minecraft-extras.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ or you may override the defaults by using a builder:
.commandManager(commandManager)
.audienceProvider(AudienceProvider.nativeProvider())
.commandPrefix("/helpcommand")
.withColors(MinecraftHelp.helpColors(/* colors... */))
.colors(MinecraftHelp.helpColors(/* colors... */))
/* other settings... */
.build();
```
Expand All @@ -113,7 +113,7 @@ or you may override the defaults by using a builder:
.commandManager(commandManager)
.audienceProvider(yourAudienceProvider)
.commandPrefix("/helpcommand")
.withColors(MinecraftHelp.helpColors(/* colors... */))
.colors(MinecraftHelp.helpColors(/* colors... */))
/* other settings... */
.build();
```
Expand Down

0 comments on commit 4c3b7fc

Please sign in to comment.