diff --git a/changelogs/4.0-snapshot.md b/changelogs/4.0-snapshot.md index 58c79953e..4c051190d 100644 --- a/changelogs/4.0-snapshot.md +++ b/changelogs/4.0-snapshot.md @@ -501,7 +501,7 @@ This version features substantial changes to the network system, improving coher - It's planned to remove runtime NBT from items completely, but this currently presents unresolved backwards-compatibility problems. #### Enchantment -- `VanillaEffects` class has been added. This exposes all vanilla enchantment types as static methods, replacing the old `Enchantment::get()` nastiness. +- `VanillaEnchantments` class has been added. This exposes all vanilla enchantment types as static methods, replacing the old `Enchantment::get()` nastiness. - Example: `Enchantment::get(Enchantment::PROTECTION)` is replaced by `VanillaEnchantments::PROTECTION()` - These methods also provide proper type information to static analysers instead of just generic `Enchantment`, making them easier to code with. - The boundaries between MCPE enchantment IDs and PocketMine-MP internals are now more clear.