Slay the Spire

Slay the Spire

Card Filter
getCursel crash with no mods in stacktrace that occurs only when I have this mod installed
Cause:
java.lang.NullPointerException
at com.evacipated.cardcrawl.mod.stslib.patches.SoulboundPatch$CardLibrary_getCurse1.lambda$Insert$0(SoulboundPatch.java:102)
at java.util.ArrayList.removeIf(ArrayList.java:1405)
at com.evacipated.cardcrawl.mod.stslib.patches.SoulboundPatch$CardLibrary_getCurse1.Insert(SoulboundPatch.java:102)
at com.megacrit.cardcrawl.helpers.CardLibrary.getCurse(CardLibrary.java:1079)
at com.megacrit.cardcrawl.dungeons.AbstractDungeon.returnRandomCurse(AbstractDungeon.java:1406)
at HalationCode.relics.monogatari.HeavySnake.atBattleStartPreDraw(HeavySnake.java:46)
at com.megacrit.cardcrawl.characters.AbstractPlayer.applyStartOfCombatPreDrawLogic(AbstractPlayer.java:2477)
at com.megacrit.cardcrawl.rooms.AbstractRoom.update(AbstractRoom.java:295)
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)

Note that while the error log says specifically Halation, that was just the random curse source of choice for this particular attempt at recreating the bug. Any source of random curses, including vanilla ones, will procure this crash.
< >
Viser 1-5 af 5 kommentarer
pgames-food 23. okt. 2022 kl. 18:37 
hi i also got a similar crash (i think one of the cards i filtered out was trying to be added to my deck but i posted on this mod page here as it mentioned their mod, but maybe it is related to cardfilter too:

https://psteamcommunity.yuanyoumao.com/workshop/filedetails/discussion/1610173938/1743356517524750020/?ctp=17#c3481871357440744861
master panda 5. jan. kl. 18:23 
I'm having a similar issue, was a solution ever found for this?
the solution I found was to drop the mod that was printing ♥♥♥♥♥♥♥ curses
Buzzy 31. jan. kl. 7:40 
A recent mod called Card Filter: Curse Fix uploaded by dvide will now finally resolve that issue from years ago.
pgames-food 31. jan. kl. 16:56 
Oprindeligt skrevet af Buzzy:
A recent mod called Card Filter: Curse Fix uploaded by dvide will now finally resolve that issue from years ago.
ah nice :)
< >
Viser 1-5 af 5 kommentarer
Per side: 1530 50