Skip to content

Commit

Permalink
Update docs/paper/dev/api/registries.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Matouš Kučera <[email protected]>
  • Loading branch information
lynxplay and zlataovce authored Jun 17, 2024
1 parent b57f35d commit 492bae0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/paper/dev/api/registries.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public class TestPluginBootstrap implements PluginBootstrap {
Modification of existing entries is useful for plugins that aim to change the way Vanilla entries
behave. For this, use the <Javadoc name={"io.papermc.paper.registry.event.RegistryEventProvider#entryAdd()"}>`entryAdd` lifecycle event</Javadoc>.
The event is called for _\*any\*_ entry added to a registry, however the API provides an easy way to target a specific entry for modification.
The following example shows how to increase the maximum level of the sharpness enchantment.
The following example shows how to increase the maximum level of the `Sharpness` enchantment.

```java
@Override
Expand Down

0 comments on commit 492bae0

Please sign in to comment.