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 41851d6 commit 65ca98aCopy full SHA for 65ca98a
1 file changed
docs/paper/dev/api/registries.mdx
@@ -132,7 +132,7 @@ public class TestPluginBootstrap implements PluginBootstrap {
132
// Plugins should use their own namespace instead of minecraft or papermc
133
TypedKey.create(RegistryKey.ENCHANTMENT, Key.key("papermc:pointy")),
134
b -> b.description(Component.text("Pointy"))
135
- .supportedItems(h.getOrCreateTag(ItemTypeTagKeys.SWORDS))
+ .supportedItems(event.getOrCreateTag(ItemTypeTagKeys.SWORDS))
136
.anvilCost(1)
137
.maxLevel(25)
138
.weight(10)
0 commit comments