Slay the Spire

Slay the Spire

Reliquary
Jamesness 16 Oct, 2023 @ 4:44pm
Short Straw Crash
Was doing a modded run, wasn't that fond of it anyway luckily. It seems that Short Straw crashes the game if your turn-start hand has only unplayable cards in it. I would also investigate if the same happens for empty hands, if one were to somehow stack minus-draw effects, but I'm not that savvy. Forgot to copy log the first time, so I tested it on a basic Ironclad run with the same result (added straw and 50 wounds to my deck and it crashed the first time I drew only wounds).

Cause:
java.util.NoSuchElementException
at java.util.LinkedList.removeFirst(LinkedList.java:270)
at java.util.LinkedList.remove(LinkedList.java:685)
at actions.AddCardModToHandAction.update(AddCardModToHandAction.java:63)
at com.megacrit.cardcrawl.actions.GameActionManager.update(GameActionManager.java:179)
at com.megacrit.cardcrawl.rooms.AbstractRoom.update(AbstractRoom.java:325)
at com.megacrit.cardcrawl.dungeons.AbstractDungeon.update(AbstractDungeon.java:2532)
at com.megacrit.cardcrawl.core.CardCrawlGame.update(CardCrawlGame.java:876)
at com.megacrit.cardcrawl.core.CardCrawlGame.render(CardCrawlGame.java:423)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:225)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)
< >
Showing 1-1 of 1 comments
Cae  [developer] 17 Oct, 2023 @ 1:03am 
Fixed, thanks!
< >
Showing 1-1 of 1 comments
Per page: 1530 50