mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2025-01-27 01:11:21 +01:00
Added disabled check for enchanting
This commit is contained in:
parent
7d660a5871
commit
a1bd4f8a3f
@ -83,6 +83,8 @@ public class EnchantingListeners implements Listener {
|
||||
continue;
|
||||
if (enchantment.getRarity().getMinimumLevel() > cost)
|
||||
continue;
|
||||
if(enchantment.isDisabled())
|
||||
continue;
|
||||
if (!enchantment.canGetFromTable())
|
||||
continue;
|
||||
if (!player.hasPermission("ecoenchants.fromtable." + enchantment.getPermissionName()))
|
||||
|
Loading…
Reference in New Issue
Block a user