-
Notifications
You must be signed in to change notification settings - Fork 120
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
Moved nametag code from cloudperms module to simplenametags plugin #457
Conversation
Only pull requests targeting development are acceptable. |
Thank you for your pull request @MCMDEV, before we can review it please rebase your changes to the development branch. 🙂 |
My bad, just changed that right now |
Thanks, could you please also solve the merge conflicts? |
} | ||
} | ||
|
||
int sortIdLength = CloudPermissionsManagement.getInstance().getGroups().stream() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The CloudPermissionManagement is deprecated, we should use CloudNetDriver#getPermissionManagement
initScoreboard(player); | ||
|
||
Bukkit.getOnlinePlayers().forEach(all -> { | ||
initScoreboard(all); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this.
.max() | ||
.orElse(0); | ||
|
||
initScoreboard(player); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this.
I think it would be easier if you copy the code from development into the simplenametags-plugin instead from the master? |
Yeah, I guess I'll do that |
…lugin" This reverts commit 1940e8e
Congratulations 🎉. DeepCode analyzed your code in 3.869 seconds and we found no issues. Enjoy a moment of no bugs ☀️. 👉 View analysis in DeepCode’s Dashboard | Configure the bot |
This PR is going to become an absolute mess, so I'm going to close this one and reopen it from from the development branch. |
This pull request includes:
Changes made to the repository:
Moved code for nametag handling from the CloudPerms Module into the SimpleNameTags Plugin.
As a result, the API-accessible updateNameTags methods were moved.
The corresponding example was also updated.
Documentation of test results:
Changes have been tested on a v3.3.0 Environment, everything works as expected.
Related issues/discussions: