Make isCasting account for charge up
This commit is contained in:
@@ -921,7 +921,7 @@ public final class WizardryUtilities {
|
|||||||
|
|
||||||
if(data != null && data.currentlyCasting() == spell) return true;
|
if(data != null && data.currentlyCasting() == spell) return true;
|
||||||
|
|
||||||
if(caster.isHandActive()){
|
if(caster.isHandActive() && caster.getItemInUseMaxCount() >= spell.getChargeup()){
|
||||||
|
|
||||||
ItemStack stack = caster.getHeldItem(caster.getActiveHand());
|
ItemStack stack = caster.getHeldItem(caster.getActiveHand());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user