-
Notifications
You must be signed in to change notification settings - Fork 95
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
[BLOCKING] Claims failing to fully load with specific API usages #273
Comments
The easiest way to reproduce the issue is to just call |
GD does not support claims in unloaded worlds. You should be using |
This is still a big issue, you are expecting everyone who is using the API to check if the world is loaded before calling
That's what I'm using as workaround but I need to handle claims of unloaded worlds too. |
OK, I'll label this as enhancement. |
Please provide a use case of accessing unloaded world claims. Currently, GD only loads claims when a world loads. |
Checking the owners activity of all claims on startup to remove and handle inactive ones. |
If a plugin calls the following method for all worlds GD fails to fully load all claims resulting in no active protection and visualization tools not working.
After some more testing this seems to happen when calling
getClaimManager()
on an unloaded or not existing world.The text was updated successfully, but these errors were encountered: