use of com.elmakers.mine.bukkit.api.action.CastContext in project MagicPlugin by elBukkit.
the class CastingCost method use.
@Override
public void use(Spell spell) {
CastContext context = spell.getCurrentCast();
Mage mage = context.getMage();
Wand wand = context.getWand();
deduct(mage, wand, spell);
}
Aggregations