-
Notifications
You must be signed in to change notification settings - Fork 242
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
stats command is bugged #92
Comments
Could you give some more info on how to reproduce this bug? Here's my results: Distro: Arch Linux
output: expected output (player name,stats) |
Huh...it seems inconsistent, must be something to do with my system. Linux Mint x86-64 with up-to-date master.
Output as expected, now the following steps:
Output: NullPointerException I kinda found something while debugging this now, when I opened up the game the second time, it didn't load the player information (attributes,name etc) in the player singleton, the attributes are all "inherited", so it throws this error inside Player.getStats() when the program tries to recover the name with getName(). It somehow never initializes the player instance. I'm looking into this, but I'm trying to make sure this happens with other people. |
see if it happens with the test player too |
yeah, it happens with "test" too |
@avaloni did your fix work or is this still an issue? |
When using the stats command (on the DebugPrompt) it throws a NullPointerException, here is the stack trace.
The text was updated successfully, but these errors were encountered: