Slay the Spire

Slay the Spire

Corrupt the Spire
AvangionQ 2022 年 6 月 4 日 下午 11:27
Conflict with Hubris
Mods in stacktrace:
- CorruptTheSpire (1.2.0)
- hubris (0.24.8)
Cause:
java.lang.NullPointerException
at com.megacrit.cardcrawl.relics.AbstractRelic.getPrice(AbstractRelic.java:172)
at com.megacrit.cardcrawl.shop.StoreRelic.<init>(StoreRelic.java:38)
at corruptthespire.corruptions.shop.ShopCorruption.handleRelics(ShopCorruption.java:200)
at corruptthespire.patches.shop.ShopPatch$ChangeRelicsPatch.changeRelics(ShopPatch.java:92)
at com.megacrit.cardcrawl.shop.ShopScreen.initRelics(ShopScreen.java)
at com.megacrit.cardcrawl.shop.ShopScreen.init(ShopScreen.java:220)
at com.evacipated.cardcrawl.mod.hubris.patches.BloodShopPatch$ScreenInit.init(BloodShopPatch.java:75)
at com.megacrit.cardcrawl.shop.Merchant.<init>(Merchant.java:122)
at com.megacrit.cardcrawl.shop.Merchant.<init>(Merchant.java:54)
at com.megacrit.cardcrawl.rooms.ShopRoom.onPlayerEntry(ShopRoom.java:42)
at com.megacrit.cardcrawl.dungeons.AbstractDungeon.nextRoomTransition(AbstractDungeon.java:2282)
at com.megacrit.cardcrawl.dungeons.AbstractDungeon.nextRoomTransition(AbstractDungeon.java:2119)
at com.megacrit.cardcrawl.dungeons.AbstractDungeon.updateFading(AbstractDungeon.java:2848)
at com.megacrit.cardcrawl.dungeons.AbstractDungeon.update(AbstractDungeon.java:2517)
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)
< >
正在显示第 1 - 2 条,共 2 条留言
modargo  [开发者] 2022 年 6 月 5 日 下午 11:27 
Thanks for reporting this. I took a look at the code and I don't think Hubris is the cause; while the stack trace mentions Hubris's Blood Shop code, it's actually the part of that code that handles the room being a normal shop instead. I suspect this is due to there being a relic that doesn't handle its price the same way as other relics, possibly added by some other mod.

I plan to add something that guards against this happening, though it might not catch everything that could be wrong with a relic.
AvangionQ 2022 年 6 月 5 日 下午 11:42 
Hubris blood shop doesn't charge gold, it charges HP.
I wonder which relic causes the crash ... that run had so many.
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50