This update fixes an oversight in the cost system for custom patterns which allowed players to infinitely cast if they were not able to pay for the spell.
Changes:
- Removed
getCostmethod fromregisteredPatternCastEvent. - Removed
setCostmethod fromregisteredPatternCastEvent. - Removed
setCostInDustmethod fromregisteredPatternCastEvent. - Added
tryConsumeMediamethod fromregisteredPatternCastEventwhich takes in an integer for how much media to consume, and returns an integer representing the amount it was not able to consume of the requested amount, 0 if it consumed enough, or a negative number if it over-consumed due to lack of appropriately sized media containers
Additions
- Added custom iota types!
- Added
isInAmbitmethod forregisteredPatternCastEventto check if a location is in ambit of the caster
Fixes
- Fixed force casting not working on survival players with no casting equipment
Initial Version



