Slay the Spire

Slay the Spire

The Potionbrewer
pgames-food 2022 年 11 月 20 日 下午 6:56
relic crash after 3-potions per 25 cards
hi i got this error below:
最后由 pgames-food 编辑于; 2022 年 11 月 20 日 下午 6:57
< >
正在显示第 1 - 4 条,共 4 条留言
pgames-food 2022 年 11 月 20 日 下午 6:57 
java.lang.NullPointerException: null
at potionbrewer.optioncards.ChoosePotion.fixColors(ChoosePotion.java:152) ~[Potionbrewer.jar:?]
at potionbrewer.optioncards.ChoosePotion.potionDescription(ChoosePotion.java:169) ~[Potionbrewer.jar:?]
at potionbrewer.optioncards.ChoosePotion.<init>(ChoosePotion.java:43) ~[Potionbrewer.jar:?]
at potionbrewer.optioncards.ChoosePotion.<init>(ChoosePotion.java:63) ~[Potionbrewer.jar:?]
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_144]
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374) ~[?:1.8.0_144]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) ~[?:1.8.0_144]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) ~[?:1.8.0_144]
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) ~[?:1.8.0_144]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_144]
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) ~[?:1.8.0_144]
at potionbrewer.relics.AlchemistFlask.onUseCard(AlchemistFlask.java:44) ~[Potionbrewer.jar:?]
at com.megacrit.cardcrawl.actions.utility.UseCardAction.<init>(UseCardAction.java:41) ~[?:?]
at com.megacrit.cardcrawl.characters.AbstractPlayer.useCard(AbstractPlayer.java:1700) ~[?:?]
at com.megacrit.cardcrawl.actions.GameActionManager.getNextAction(GameActionManager.java:359) ~[?:?]
at com.megacrit.cardcrawl.actions.GameActionManager.update(GameActionManager.java:183) ~[?:?]
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) [?:?]
pgames-food 2022 年 11 月 20 日 下午 7:00 
(it was from the relic that pops up a window with a choice of 3 potions, that you can instantly play during a battle, i think every 25 cards played)

i had that relic for a few combats and it seemed to work fine, but then it started crashing with the same error when it would trigger, and i had to use the console to remove the relic before the 25th card, and was able to complete a battle, and then i added the relic back again, but now it seems to keep crashing so i had to remove it but am not sure what causes it)

maybe it uses the map seed to queue up a list of potions, and 1 of them that it wants to keep trying to make as the next potion in the list is conflicting or something but am not sure).
NotInTheFace  [开发者] 2022 年 11 月 26 日 下午 1:05 
Thanks for the report. I've pushed out a fix that should prevent the crash.
pgames-food 2022 年 11 月 26 日 下午 3:02 
cool thanks :)
< >
正在显示第 1 - 4 条,共 4 条留言
每页显示数: 1530 50