Slay the Spire

Slay the Spire

Card Filter
Carbon the Wanderer 2022 年 8 月 4 日 下午 2:29
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.
< >
正在显示第 1 - 5 条,共 5 条留言
pgames-food 2022 年 10 月 23 日 下午 6: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 1 月 5 日 下午 6: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 1 月 31 日 上午 7:40 
A recent mod called Card Filter: Curse Fix uploaded by dvide will now finally resolve that issue from years ago.
pgames-food 1 月 31 日 下午 4:56 
引用自 Buzzy
A recent mod called Card Filter: Curse Fix uploaded by dvide will now finally resolve that issue from years ago.
ah nice :)
< >
正在显示第 1 - 5 条,共 5 条留言
每页显示数: 1530 50