AnsdoShip / Magic-Ling-Pixel-Dungeon-BK-

MLPD同步仓库,同步250破碎开始进行。截至0.7.8.1
GNU General Public License v3.0
0 stars 0 forks source link

【Crash】Store存储异常,需要处理 #10

Open LingASDJ opened 1 month ago

LingASDJ commented 1 month ago

[GAME] java.lang.NullPointerException at com.shatteredpixel.shatteredpixeldungeon.journal.Catalog.store(Catalog.java:381) at com.shatteredpixel.shatteredpixeldungeon.journal.Journal.saveGlobal(Journal.java:70) at com.shatteredpixel.shatteredpixeldungeon.journal.Journal.saveGlobal(Journal.java:60) at com.shatteredpixel.shatteredpixeldungeon.scenes.GameScene.destroy(GameScene.java:436) at com.watabou.noosa.Game.switchScene(Game.java:264) at com.shatteredpixel.shatteredpixeldungeon.ShatteredPixelDungeon.switchScene(ShatteredPixelDungeon.java:200) at com.watabou.noosa.Game.step(Game.java:247) at com.watabou.noosa.Game.render(Game.java:178) at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Graphics$1.invoke(Lwjgl3Graphics.java:77) at org.lwjgl.glfw.GLFWFramebufferSizeCallbackI.callback(GLFWFramebufferSizeCallbackI.java:37) at org.lwjgl.system.JNI.invokeV(Native Method) at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3094) at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.loop(Lwjgl3Application.java:149) at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.(Lwjgl3Application.java:116) at com.shatteredpixel.shatteredpixeldungeon.desktop.DesktopLauncher.main(DesktopLauncher.java:173)

LingASDJ commented 1 month ago

只需要进行存储的行动就会报错,例如下楼,返回游戏主菜单(此问题严重影响游戏进度,必须优先修正)