Skip to content

Commit 7f77af7

Browse files
authored
fix(minecraft-extras): add missing slash to createNative() and create() methods (#27)
<!-- readthedocs-preview incendocloud start --> ---- 📚 Documentation preview 📚: https://incendocloud--27.org.readthedocs.build/en/27/ <!-- readthedocs-preview incendocloud end -->
1 parent bb40ba3 commit 7f77af7

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
@@ -76,7 +76,7 @@ You may create an instance with the default styling:
7676
```java
7777
// Assuming YourSenderType extends Audience
7878
MinecraftHelp<YourSenderType> help = MinecraftHelp.createNative(
79-
"helpcommand",
79+
"/helpcommand",
8080
commandManager
8181
);
8282
```
@@ -85,7 +85,7 @@ You may create an instance with the default styling:
8585

8686
```java
8787
MinecraftHelp<YourSenderType> help = MinecraftHelp.create(
88-
"helpcommand",
88+
"/helpcommand",
8989
commandManager,
9090
audienceMapper // YourSenderType -> Audience
9191
);

0 commit comments

Comments
 (0)