From 09bc232d400c3736cf8282b6802a7d27389b6e43 Mon Sep 17 00:00:00 2001 From: Talia-12 Date: Wed, 5 Apr 2023 18:35:39 +1000 Subject: [PATCH] fix hermes? --- .../hexcasting/api/casting/eval/sideeffects/EvalSound.java | 2 +- .../petrak/hexcasting/common/casting/operators/eval/OpEval.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Common/src/main/java/at/petrak/hexcasting/api/casting/eval/sideeffects/EvalSound.java b/Common/src/main/java/at/petrak/hexcasting/api/casting/eval/sideeffects/EvalSound.java index a2109858..f81a34eb 100644 --- a/Common/src/main/java/at/petrak/hexcasting/api/casting/eval/sideeffects/EvalSound.java +++ b/Common/src/main/java/at/petrak/hexcasting/api/casting/eval/sideeffects/EvalSound.java @@ -8,7 +8,7 @@ import org.jetbrains.annotations.Nullable; * * @param sound the actual sound file * @param priority the priority of this sound. the sound with the highest priority in a given cast will be - * playd. + * played. * shortcutMetacasting takes precedence over this. */ public record EvalSound(@Nullable SoundEvent sound, int priority) { diff --git a/Common/src/main/java/at/petrak/hexcasting/common/casting/operators/eval/OpEval.kt b/Common/src/main/java/at/petrak/hexcasting/common/casting/operators/eval/OpEval.kt index 40b114a5..d927419b 100644 --- a/Common/src/main/java/at/petrak/hexcasting/common/casting/operators/eval/OpEval.kt +++ b/Common/src/main/java/at/petrak/hexcasting/common/casting/operators/eval/OpEval.kt @@ -34,6 +34,6 @@ object OpEval : Action { val instrsList = instrs.map({ SpellList.LList(0, listOf(PatternIota(it))) }, { it }) val frame = FrameEvaluate(instrsList, true) - return OperationResult(listOf(), userData, listOf(), newCont.pushFrame(frame)) + return OperationResult(stack, userData, listOf(), newCont.pushFrame(frame)) } }