Removed pointless reference
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user