do it for thoth too
This commit is contained in:
parent
7f90c76737
commit
6fd206d5d8
1 changed files with 2 additions and 2 deletions
|
@ -7,9 +7,9 @@ import at.petrak.hexcasting.api.spell.SpellDatum
|
||||||
import at.petrak.hexcasting.api.spell.casting.CastingContext
|
import at.petrak.hexcasting.api.spell.casting.CastingContext
|
||||||
import at.petrak.hexcasting.api.spell.casting.CastingHarness
|
import at.petrak.hexcasting.api.spell.casting.CastingHarness
|
||||||
import at.petrak.hexcasting.api.spell.casting.OperatorSideEffect
|
import at.petrak.hexcasting.api.spell.casting.OperatorSideEffect
|
||||||
|
import at.petrak.hexcasting.api.spell.math.HexPattern
|
||||||
import at.petrak.hexcasting.api.spell.mishaps.MishapInvalidIota
|
import at.petrak.hexcasting.api.spell.mishaps.MishapInvalidIota
|
||||||
import at.petrak.hexcasting.api.spell.mishaps.MishapNotEnoughArgs
|
import at.petrak.hexcasting.api.spell.mishaps.MishapNotEnoughArgs
|
||||||
import at.petrak.hexcasting.api.spell.math.HexPattern
|
|
||||||
import net.minecraft.network.chat.TranslatableComponent
|
import net.minecraft.network.chat.TranslatableComponent
|
||||||
|
|
||||||
object OpForEach : Operator {
|
object OpForEach : Operator {
|
||||||
|
@ -35,7 +35,7 @@ object OpForEach : Operator {
|
||||||
pat.payload
|
pat.payload
|
||||||
} else {
|
} else {
|
||||||
throw MishapInvalidIota(
|
throw MishapInvalidIota(
|
||||||
pat,
|
SpellDatum.make(instrs),
|
||||||
1,
|
1,
|
||||||
TranslatableComponent("hexcasting.mishap.invalid_value.list.pattern")
|
TranslatableComponent("hexcasting.mishap.invalid_value.list.pattern")
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue