mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-22 15:05:18 +01:00
Removed pointless reference
This commit is contained in:
parent
baaf75be22
commit
e0e463dffc
@ -66,7 +66,7 @@ public class Soulbound extends EcoEnchant {
|
||||
}
|
||||
|
||||
if (this.getConfig().getBool(EcoEnchants.CONFIG_LOCATION + "on-books")) {
|
||||
if (itemStack.getItemMeta() instanceof EnchantmentStorageMeta && (((EnchantmentStorageMeta) itemStack.getItemMeta()).getStoredEnchants().containsKey(this.getEnchantment()))) {
|
||||
if (itemStack.getItemMeta() instanceof EnchantmentStorageMeta && (((EnchantmentStorageMeta) itemStack.getItemMeta()).getStoredEnchants().containsKey(this))) {
|
||||
soulboundItems.add(itemStack);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user