Adds the ability for plugins to register their own brigadier commands --------- Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com> Co-authored-by: Jason Penilla <11360596+jpenilla@users.noreply.github.com> Co-authored-by: Bjarne Koll <git@lynxplay.dev>
15 lines
428 B
Java
15 lines
428 B
Java
package io.papermc.testplugin;
|
|
|
|
import io.papermc.paper.plugin.bootstrap.BootstrapContext;
|
|
import io.papermc.paper.plugin.bootstrap.PluginBootstrap;
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
|
public class TestPluginBootstrap implements PluginBootstrap {
|
|
|
|
@Override
|
|
public void bootstrap(@NotNull BootstrapContext context) {
|
|
// io.papermc.testplugin.brigtests.Registration.registerViaBootstrap(context);
|
|
}
|
|
|
|
}
|