Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game crashes if you remove a card tied to Mysterious Pyramids #48

Open
SineSwiper opened this issue Dec 7, 2019 · 0 comments
Open

Game crashes if you remove a card tied to Mysterious Pyramids #48

SineSwiper opened this issue Dec 7, 2019 · 0 comments

Comments

@SineSwiper
Copy link

I ran into an opportunity to remove a few cards, though a quest, that I no longer wanted that were tied to relics. One of them was tied to Mysterious Pyramids. I'm not sure if I played a battle after that, but as soon as I continued my game from a save, and tried to enter a battle, it will consistently crash with:

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.ArrayList.rangeCheck(ArrayList.java:653) ~[?:1.8.0_144]
	at java.util.ArrayList.get(ArrayList.java:429) ~[?:1.8.0_144]
	at com.evacipated.cardcrawl.mod.hubris.relics.MysteriousPyramids.onSave(MysteriousPyramids.java:62) ~[Hubris.jar:?]
	at com.evacipated.cardcrawl.mod.hubris.relics.MysteriousPyramids.onSave(MysteriousPyramids.java:23) ~[Hubris.jar:?]
	at basemod.abstracts.CustomSavable.onSaveRaw(CustomSavable.java:33) ~[BaseMod.jar:?]
	at basemod.patches.com.megacrit.cardcrawl.saveAndContinue.SaveFile.ConstructSaveFilePatch.Prefix(ConstructSaveFilePatch.java:33) ~[BaseMod.jar:?]
	at com.megacrit.cardcrawl.saveAndContinue.SaveFile.<init>(SaveFile.java:225) ~[?:?]
	at com.megacrit.cardcrawl.helpers.SaveHelper.saveIfAppropriate(SaveHelper.java:278) ~[desktop-1.0.jar:?]
	at com.megacrit.cardcrawl.dungeons.AbstractDungeon.nextRoomTransition(AbstractDungeon.java:2169) ~[?:?]
	at com.megacrit.cardcrawl.dungeons.AbstractDungeon.nextRoomTransition(AbstractDungeon.java:2094) ~[?:?]
	at com.megacrit.cardcrawl.dungeons.AbstractDungeon.updateFading(AbstractDungeon.java:2790) ~[?:?]
	at com.megacrit.cardcrawl.dungeons.AbstractDungeon.update(AbstractDungeon.java:2479) ~[?:?]
	at com.megacrit.cardcrawl.core.CardCrawlGame.update(CardCrawlGame.java:871) ~[?:?]
	at com.megacrit.cardcrawl.core.CardCrawlGame.render(CardCrawlGame.java:422) [?:?]
	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:?]```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant