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

getDragonLocation() throws a NullPointerException #57

Open
stefvanschie opened this issue Sep 22, 2015 · 3 comments
Open

getDragonLocation() throws a NullPointerException #57

stefvanschie opened this issue Sep 22, 2015 · 3 comments
Labels

Comments

@stefvanschie
Copy link
Contributor

Hey,

I got this error when using your plugin:
http://pastebin.com/vva7KtEF

Was using the bar as a countdown and this happened when he was at approximately half his health. The timer was set to 30 seconds.

EDIT: Got it again, new error log: http://pastebin.com/FNPFPu6k

@confuser confuser added the bug label Nov 24, 2015
@stefvanschie
Copy link
Contributor Author

I think I know what's causing this to happen. In the minigame I'm testing (which uses your api) I have boundaries and when I walk into them and get teleported back with a very specific timing, it returns null. I have no idea how to fix it though.

@confuser
Copy link
Owner

Interesting. I haven't been able to reproduce this. Are you moving them to a different unloaded chunk?

@stefvanschie
Copy link
Contributor Author

No they get teleported to the previous location, so they can't escape out of the boundaries.

EDIT: I'm still not entirely sure if this is the exact problem. It happened and I saw I was getting teleported back due to the boundaries. I have no idea if that was just by accident.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants