1
0
mirror of https://github.com/PaperMC/Paper.git synced 2025-08-13 19:25:49 -07:00

[ci skip] Fix incomplete example in javadocs for PreFlattenTagRegistrar ()

This commit is contained in:
Pedro
2025-02-12 07:16:40 -03:00
committed by GitHub
parent 13c80a5eb3
commit db2aa1803d

@@ -22,6 +22,8 @@ import org.jspecify.annotations.NullMarked;
* <pre>{@code
* class YourBootstrapClass implements PluginBootstrap {
*
* public static final TagKey<ItemType> AXE_PICKAXE = TagKey.create(RegistryKey.ITEM, Key.key("papermc:axe_pickaxe"));
*
* @Override
* public void bootstrap(BootstrapContext context) {
* LifecycleEventManager<BootstrapContext> manager = context.getLifecycleManager();