Skip to content

Commit

Permalink
fix(minecraft-extras): add missing slash to createNative() and create…
Browse files Browse the repository at this point in the history
…() methods (#27)

<!-- readthedocs-preview incendocloud start -->
----
📚 Documentation preview 📚:
https://incendocloud--27.org.readthedocs.build/en/27/

<!-- readthedocs-preview incendocloud end -->
  • Loading branch information
fabianmakila authored Jan 28, 2024
1 parent bb40ba3 commit 7f77af7
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 @@ -76,7 +76,7 @@ You may create an instance with the default styling:
```java
// Assuming YourSenderType extends Audience
MinecraftHelp<YourSenderType> help = MinecraftHelp.createNative(
"helpcommand",
"/helpcommand",
commandManager
);
```
Expand All @@ -85,7 +85,7 @@ You may create an instance with the default styling:

```java
MinecraftHelp<YourSenderType> help = MinecraftHelp.create(
"helpcommand",
"/helpcommand",
commandManager,
audienceMapper // YourSenderType -> Audience
);
Expand Down

0 comments on commit 7f77af7

Please sign in to comment.