We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae979da commit 3ab62b2Copy full SHA for 3ab62b2
docs/paper/dev/api/commands.mdx
@@ -31,7 +31,7 @@ functions are loaded by the server before plugins are loaded. To make commands a
31
datapacks, register them via the [PluginBootstrap](#pluginbootstrap).
32
33
```java
34
-class YourPluginClass extends JavaPlugin {
+public class YourPluginClass extends JavaPlugin {
35
36
@Override
37
public void onEnable() {
@@ -70,7 +70,7 @@ The benefit of registering commands here is that they will be available to datap
70
because the command registration happens early enough.
71
72
73
-class YourPluginBootstrap implements PluginBootstrap {
+public class YourPluginBootstrap implements PluginBootstrap {
74
75
76
public void bootstrap(BootstrapContext context) {
0 commit comments