Open fjeddy opened 3 years ago
It appears this only happens when island-min-level
is set to 0, is this intentional? Requering at least level 1?
Pretty sure that's the same error as #38.
When you used the upgrade, where you on your island? Was it the first thing you did after generating your island?
Hello,
It looks like the same error yes, the error occured on an Island I had been working on for a while, so not new, but, for some reason the Level
plugin had issues and /sb level
got stuck at calculating and froze. Level didn't work and Upgrades gave the same error.
So I have now re-created everything, including the configs, so yes, I am testing the command the first thing after creating the island.
/sb reset /sb level /sb upgrade -> Click to upgrade -> Error
The error only happens if island-min-level
is set to 0, in other words, I can't let a player upgrade their island limits instantly, they have to reach a minimum of level 1?
Ok, found it. Actually, the limits addon return a null when the player just created it's island and he didn't place or break any block (or entity).
The reason why it only crash with island_min_level
to 0 is because if it's not, you will need to place blocks to increase it
I can add a check with an error message for now. And I will post an issue on limits
Description
Describe the bug
When you perform an actual upgrade, you get a NullPointerException error in the console, and nothing happens in the game itself.
Steps to reproduce the behavior
/sb upgrade -> Click to upgrade
Error
Output of
/bbox version
(Mandatory)