Skip to content

Commit 65ca98a

Browse files
committed
Make it compile
1 parent 41851d6 commit 65ca98a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/paper/dev/api/registries.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public class TestPluginBootstrap implements PluginBootstrap {
132132
// Plugins should use their own namespace instead of minecraft or papermc
133133
TypedKey.create(RegistryKey.ENCHANTMENT, Key.key("papermc:pointy")),
134134
b -> b.description(Component.text("Pointy"))
135-
.supportedItems(h.getOrCreateTag(ItemTypeTagKeys.SWORDS))
135+
.supportedItems(event.getOrCreateTag(ItemTypeTagKeys.SWORDS))
136136
.anvilCost(1)
137137
.maxLevel(25)
138138
.weight(10)

0 commit comments

Comments
 (0)