Remove isHandActive check from spectral bow reequip method, fixes part 7 of #217

This commit is contained in:
Electroblob77
2019-09-03 15:58:43 +01:00
parent 931c99617c
commit 16a4c8231f
@@ -71,9 +71,10 @@ public class ItemSpectralBow extends ItemBow implements IConjuredItem {
if(!oldStack.isEmpty() || !newStack.isEmpty()){
// We only care about the situation where we specifically want the animation NOT to play.
if(oldStack.getItem() == newStack.getItem() && !slotChanged
if(oldStack.getItem() == newStack.getItem() && !slotChanged)
// This code should only run on the client side, so using Minecraft is ok.
&& !net.minecraft.client.Minecraft.getMinecraft().player.isHandActive())
// Why the heck was this here?
//&& !net.minecraft.client.Minecraft.getMinecraft().player.isHandActive())
return false;
}