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

Internal error #24

Open
JHarris12345 opened this issue Sep 22, 2020 · 1 comment
Open

Internal error #24

JHarris12345 opened this issue Sep 22, 2020 · 1 comment
Labels
Type: Bug Something isn't right

Comments

@JHarris12345
Copy link

JHarris12345 commented Sep 22, 2020

Description

Describe the bug

Internal error when using /is upgrade - https://pastebin.com/AfreScMt

Output of /bbox version (Mandatory)

image

Additional context (Optional)

My config: https://pastebin.com/y6xz06ev

@BentoBoxWorld BentoBoxWorld deleted a comment from JHarris12345 Sep 22, 2020
@tastybento
Copy link
Member

@JHarris12345 I'm not the author on this, but it's choking because there are no default tiers defined in config.yml because you commented them out. The code assumes they exist so that if the world definitions do not exist then it has something to fall back on. As a workaround, I recommend you uncomment the default definitions and let them exist. If you have a world definition, they should override them anyway.
On the code side, it'd be good @Guillaume-Lebegue to handle the edge case situation where there are no config entries so your get.get. doesn't create a NPE. Or, use another getOrDefault approach.

@tastybento tastybento added the Type: Bug Something isn't right label Sep 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't right
Projects
None yet
Development

No branches or pull requests

2 participants