From dbb9f8969e43a9f68821cd2dcbe1dfc89e308871 Mon Sep 17 00:00:00 2001 From: Robotgiggle <88736742+Robotgiggle@users.noreply.github.com> Date: Tue, 26 May 2026 18:04:27 -0400 Subject: [PATCH 1/2] Don't erase stack and raven if wisp's caster leaves dim --- .../ram/talia/hexal/api/casting/wisp/WispCastingManager.kt | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Common/src/main/java/ram/talia/hexal/api/casting/wisp/WispCastingManager.kt b/Common/src/main/java/ram/talia/hexal/api/casting/wisp/WispCastingManager.kt index 1d3ce80e..6bf46b02 100644 --- a/Common/src/main/java/ram/talia/hexal/api/casting/wisp/WispCastingManager.kt +++ b/Common/src/main/java/ram/talia/hexal/api/casting/wisp/WispCastingManager.kt @@ -98,14 +98,9 @@ class WispCastingManager(private val casterUUID: UUID, private var cachedServer: val wisp = cast.wisp ?: caster!!.serverLevel().getEntity(cast.wispUUID) as? BaseCastingWisp ?: continue cast.wisp = wisp - if (wisp.isRemoved) + if (wisp.isRemoved || wisp.level().dimension() != caster?.level()?.dimension()) continue - if (wisp.level().dimension() != caster?.level()?.dimension()) { - wisp.castCallback(WispCastResult(wisp, false, mutableListOf(), CompoundTag(), true)) - continue - } - results += cast(cast) evalsLeft-- From ee571548c54c5055266dfa46a670bccbc9772203 Mon Sep 17 00:00:00 2001 From: Robotgiggle <88736742+Robotgiggle@users.noreply.github.com> Date: Tue, 26 May 2026 18:05:44 -0400 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f6e96ec..a4324baa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,6 +41,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). - Fixed wisps being able to generate infinite media by consuming themselves. - Fixed wisps being unable to access the offhand or inventory of their caster. - Fixed wisps without a caster being frozen forever. +- Fixed wisps erasing their stack and ravenmind if loaded while their caster is in another dimension. - Fixed the Relay block not dropping when broken. - Fixed an error when a playerless caster tries to create a link. - Fixed an error when passing null or an empty mote to Use Item On.