Gremious / StS-DefaultModBase

(DON'T USE THIS AND BASEMOD IF YOU'RE NEW TO MODDING) This is a minimal, over-commented, "default clean slate" for jump-starting Slay the spire mods.
MIT License
112 stars 61 forks source link

Character Code Doesn't Work Out of the Box #68

Closed GlennDriver closed 2 years ago

GlennDriver commented 2 years ago

Only changing what I needed to (the name and ID of the mod) I can't get the character to work. The game launches, but when I try to start the game as "The Default" character I get a crash that looks like 00:31:09.162 INFO core.CardCrawlGame> Exception occurred in CardCrawlGame render method! 00:31:09.163 ERROR core.CardCrawlGame> Exception caught java.lang.NullPointerException at com.megacrit.cardcrawl.characters.AbstractPlayer.initializeStarterDeck(AbstractPlayer.java:450) at com.megacrit.cardcrawl.dungeons.AbstractDungeon.<init>(AbstractDungeon.java:362) at com.megacrit.cardcrawl.dungeons.Exordium.<init>(Exordium.java:50) at com.megacrit.cardcrawl.core.CardCrawlGame.getDungeon(CardCrawlGame.java:1379) at com.megacrit.cardcrawl.core.CardCrawlGame.update(CardCrawlGame.java:861) 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)

I've attempted to add stack tracing, but the whole character seems to load fine, until I hit "play game". The only mods I have installed are: My Mod, StSLib, Basemod, and Mod the Spire. This issue is working under the assumption that the default character is supposed to work with no changes.