fixes runtime when building stack recipes (#29392)

This commit is contained in:
chuga-git
2025-05-21 23:17:21 +00:00
committed by GitHub
parent 5297983578
commit d91c93ece6
@@ -132,7 +132,9 @@
if(isitem(result))
if(isstack(result) && istype(result, user.get_inactive_hand()))
result.merge(user.get_inactive_hand())
// Make sure the result hasn't already gotten sucked into another stack while initializing
if(!QDELETED(result))
result.merge(user.get_inactive_hand())
user.put_in_hands(result)
// BubbleWrap - so newly formed boxes are empty