Update README.md

This commit is contained in:
NotAlexNoyle committed 2026-03-23 07:37:13 -04:00
1 parent d5a913ef61
commit 2afb910069
2 files changed
+5 -2

No files matched your search

+2 -1
View File
@@ -8,5 +8,6 @@ A fork of [zOldEnchant](https://github.com/Maxlego08/zOldEnchant), which allows
- Updated for 1.19.4.
- Switched from maven to gradle.
- Added automatic lapis module adapted from old OldCombatMechanics versions, licensed under MPLv2.
Licensed under MIT.
The rest of the plugin is licensed under MIT.
@@ -130,7 +130,9 @@ public class OldEnchantOG extends JavaPlugin implements Listener {
}
EnchantingInventory enchantingInventory = (EnchantingInventory) inventory;
if (!isLapis(enchantingInventory.getSecondary()) || enchantingInventory.getSecondary().getAmount() != AUTO_LAPIS_AMOUNT) {
if (!isLapis(enchantingInventory.getSecondary())
|| enchantingInventory.getSecondary().getAmount() != AUTO_LAPIS_AMOUNT)
{
enchantingInventory.setSecondary(getLapis());