SheerSt / pokewilds

PokeWilds - A Gen 2 Game/Engine using libGDX

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: Black background on load, I take a step and freeze

robbenrose opened this issue · comments

Game Version

0.8.10-windows-64

Platform

Windows 10

What happened?

I load my save, which I made while sleeping in a sleeping bag inside a house, and my character loads in on a black background. I can access the menu or take a step, but once I take a step everything freezes. Music keeps playing though.

Ran the debug.exe and got the following error.

java.lang.NullPointerException: Cannot read field "name" because "this.currTile" is null
at com.pkmngen.game.PlayerStanding.localStep(Player.java:9765)
at com.pkmngen.game.PlayerStanding.step(Player.java:10465)
at com.pkmngen.game.Game.render(Game.java:1320)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Window.update(Lwjgl3Window.java:387)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.loop(Lwjgl3Application.java:192)
at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.(Lwjgl3Application.java:166)
at com.pkmngen.game.desktop.DesktopLauncher.main(DesktopLauncher.java:35)

What should've happened? (Optional)

No response