Add metadata support to block/item list config options, fixes #353
This commit is contained in:
@@ -120,9 +120,9 @@ public interface Imbuement {
|
||||
|
||||
ItemStack bow = archer.getHeldItemMainhand();
|
||||
|
||||
if(!ImbueWeapon.isBow(bow.getItem())){
|
||||
if(!ImbueWeapon.isBow(bow)){
|
||||
bow = archer.getHeldItemOffhand();
|
||||
if(!ImbueWeapon.isBow(bow.getItem())) return;
|
||||
if(!ImbueWeapon.isBow(bow)) return;
|
||||
}
|
||||
|
||||
// Taken directly from ItemBow, so it works exactly the same as the power enchantment.
|
||||
|
||||
Reference in New Issue
Block a user