Add spell charge-up sound

This commit is contained in:
Electroblob77
2020-06-12 14:28:37 +01:00
parent ee56aa50be
commit a17a20fe8b
7 changed files with 74 additions and 19 deletions
@@ -364,6 +364,7 @@ public class ItemWand extends Item implements IWorkbenchItem, ISpellCastingItem,
player.setActiveHand(hand);
// Store the modifiers for use later
if(WizardData.get(player) != null) WizardData.get(player).itemCastingModifiers = modifiers;
if(chargeup > 0 && world.isRemote) Wizardry.proxy.playChargeupSound(player);
return new ActionResult<>(EnumActionResult.SUCCESS, stack);
}
}else{