Slay the Spire

Slay the Spire

Shop Mod
Imakunee 2 Sep, 2021 @ 2:11pm
Crash On Purchase Rug
java.lang.NullPointerException
at com.megacrit.cardcrawl.relics.AbstractRelic.getPrice(AbstractRelic.java:172)
at shopmod.relics.MerchantsRug.initSalePrice(MerchantsRug.java:254)
at shopmod.relics.MerchantsRug.access$100(MerchantsRug.java:52)
at shopmod.relics.MerchantsRug$SellingRelic.<init>(MerchantsRug.java:239)
at shopmod.relics.MerchantsRug.initSalePrices(MerchantsRug.java:194)
at shopmod.relics.MerchantsRug.onEquip(MerchantsRug.java:90)
at com.megacrit.cardcrawl.relics.AbstractRelic.instantObtain(AbstractRelic.java:250)
at shopmod.patches.ShopScreenPatch$Update.Postfix(ShopScreenPatch.java:86)
at com.megacrit.cardcrawl.shop.ShopScreen.update(ShopScreen.java:682)
at com.megacrit.cardcrawl.dungeons.AbstractDungeon.update(AbstractDungeon.java:2587)
at com.megacrit.cardcrawl.core.CardCrawlGame.update(CardCrawlGame.java:871)
at com.megacrit.cardcrawl.core.CardCrawlGame.render(CardCrawlGame.java:419)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:225)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)

Occurs on purchasing the rug. There are quite a few mods in the pack so if it's not an obvious issue with this mod in particular, maybe just tossing on a try/catch so it runs at least would be nice (if possible).

Thanks for your work on the mod, it's been a favorite for a long time. <3

Full version/mod list: https://pastebin.com/nTDvr5KQ
< >
Showing 1-1 of 1 comments
Imakunee 2 Sep, 2021 @ 2:42pm 
I think I identified the issue. Things began working again after disabling Relic Filter.
< >
Showing 1-1 of 1 comments
Per page: 1530 50