Slay the Spire

Slay the Spire

The Runesmith
Necromancer Mod and Runesmith Game crashing bug I ran into
I believe the issue came from the runesmith trinket interacting with the Necromancer card Slay_Living card by trying to Enhance the card but since the card is already upgraded the game probably doesn't know what to do and crashes. Anyway here is the code that I got for the crash.



10:51:44.587 INFO runesmith.RunesmithMod> Enhance entire hand.
10:51:44.590 ERROR core.CardCrawlGame> Exception caught
java.lang.NullPointerException: null
at necromod.cards.Slay_Living.calculateCardDamage(Slay_Living.java:138) ~[NecroMod.jar:?]
at runesmith.actions.EnhanceCard.doEnhance(EnhanceCard.java:41) ~[TheRunesmith.jar:?]
at runesmith.actions.EnhanceCard.enhance(EnhanceCard.java:18) ~[TheRunesmith.jar:?]
at runesmith.actions.EnhanceCard.enhance(EnhanceCard.java:12) ~[TheRunesmith.jar:?]
at runesmith.actions.EnhanceEntireHandAction.EnhanceAllCardsInGroup(EnhanceEntireHandAction.java:37) ~[TheRunesmith.jar:?]
at runesmith.actions.EnhanceEntireHandAction.update(EnhanceEntireHandAction.java:28) ~[TheRunesmith.jar:?]
at com.megacrit.cardcrawl.actions.GameActionManager.update(GameActionManager.java:155) ~[?:?]
at com.megacrit.cardcrawl.rooms.AbstractRoom.update(AbstractRoom.java:279) ~[?:?]
at com.megacrit.cardcrawl.dungeons.AbstractDungeon.update(AbstractDungeon.java:2552) ~[?:?]
at com.megacrit.cardcrawl.core.CardCrawlGame.update(CardCrawlGame.java:878) ~[?:?]
at com.megacrit.cardcrawl.core.CardCrawlGame.render(CardCrawlGame.java:429) [?:?]
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:225) [?:?]
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126) [desktop-1.0.jar:?]
< >
11/1 megjegyzés mutatása
Blizzarre  [Fejlesztő] 2019. jan. 31., 4:13 
I attempted a quick fix and uploaded a quick patch. Please tell me if any similar problem surfaces again.
< >
11/1 megjegyzés mutatása
Laponként: 1530 50