do it for thoth too

This commit is contained in:
yrsegal@gmail.com 2022-04-29 17:13:31 -04:00
parent 7f90c76737
commit 6fd206d5d8

View file

@ -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.CastingHarness
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.MishapNotEnoughArgs
import at.petrak.hexcasting.api.spell.math.HexPattern
import net.minecraft.network.chat.TranslatableComponent
object OpForEach : Operator {
@ -35,7 +35,7 @@ object OpForEach : Operator {
pat.payload
} else {
throw MishapInvalidIota(
pat,
SpellDatum.make(instrs),
1,
TranslatableComponent("hexcasting.mishap.invalid_value.list.pattern")
)