Update README.md
This commit is contained in:
1 parent
d5a913ef61
commit
2afb910069
2 files changed
+5
-2
No files matched your search
@@ -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());
|
||||
|
||||
|
||||
Reference in new issue
Block a user