You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to point out that ItemHeroBow implements IBattlegearWeapon, which isn't necessary to allow handling of such item in Mine&Blade-Battlegear2 slots. (It is even counterproductive here, as it always returns false in #allowOffhand(ItemStack, ItemStack) making it totally unwieldable)
Extending ItemBow is enough to allow the handling in the right hand. You could allow the wielding in left hand, but it wouldn't be "used" as a bow even in the latest version of Battlegear.
So unless you have specific requirements for this item usage, i'd recommend removing that interface.
The text was updated successfully, but these errors were encountered:
Thanks Goto, you were absolutely right. IAllowItem on its own was plenty, and even that probably unnecessary since I extend ItemBow. Anyway, it works great now xD
I would like to point out that ItemHeroBow implements IBattlegearWeapon, which isn't necessary to allow handling of such item in Mine&Blade-Battlegear2 slots. (It is even counterproductive here, as it always returns false in #allowOffhand(ItemStack, ItemStack) making it totally unwieldable)
Extending ItemBow is enough to allow the handling in the right hand. You could allow the wielding in left hand, but it wouldn't be "used" as a bow even in the latest version of Battlegear.
So unless you have specific requirements for this item usage, i'd recommend removing that interface.
The text was updated successfully, but these errors were encountered: