File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Common/src/main/java/at/petrak/hexcasting/api/casting/castables Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import at.petrak.hexcasting.api.casting.eval.sideeffects.OperatorSideEffect
66import at.petrak.hexcasting.api.casting.eval.vm.CastingImage
77import at.petrak.hexcasting.api.casting.eval.vm.SpellContinuation
88import at.petrak.hexcasting.api.casting.iota.Iota
9+ import at.petrak.hexcasting.api.casting.mishaps.Mishap
910import at.petrak.hexcasting.api.casting.mishaps.MishapNotEnoughArgs
1011import at.petrak.hexcasting.api.casting.mishaps.MishapNotEnoughMedia
1112import at.petrak.hexcasting.common.lib.hex.HexEvalSounds
@@ -18,8 +19,10 @@ interface ConstMediaAction : Action {
1819 val mediaCost: Long
1920 get() = 0
2021
22+ @Throws(Mishap ::class )
2123 fun execute (args : List <Iota >, env : CastingEnvironment ): List <Iota >
2224
25+ @Throws(Mishap ::class )
2326 fun executeWithOpCount (args : List <Iota >, env : CastingEnvironment ): CostMediaActionResult {
2427 val stack = this .execute(args, env)
2528 return CostMediaActionResult (stack)
You can’t perform that action at this time.
0 commit comments