Make isCasting account for charge up

This commit is contained in:
Electroblob77
2020-06-12 12:55:50 +01:00
parent 737f896070
commit 526dbaf396
@@ -921,7 +921,7 @@ public final class WizardryUtilities {
if(data != null && data.currentlyCasting() == spell) return true;
if(caster.isHandActive()){
if(caster.isHandActive() && caster.getItemInUseMaxCount() >= spell.getChargeup()){
ItemStack stack = caster.getHeldItem(caster.getActiveHand());