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 acaa65b commit 744bee0
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 @@ -116,7 +116,7 @@ Modification of a registry can take two different forms.

Creating new entries is done via the <Javadoc name={"io.papermc.paper.registry.event.RegistryEventProvider#freeze"}>`freeze` lifecycle event</Javadoc>
on the respective registries.
The freeze event is called right before a registries content is frozen in-place, meaning all Vanilla entries are registered.
The freeze event is called right before a registry's content is frozen in-place, meaning all Vanilla entries are registered.
Plugins can hence register their own entries at this point.
The following example shows how to create a new enchantment:

Expand Down

0 comments on commit 744bee0

Please sign in to comment.