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

Optimize durability scoreboard #32

Open
wingzero54 opened this issue Jun 2, 2021 · 1 comment
Open

Optimize durability scoreboard #32

wingzero54 opened this issue Jun 2, 2021 · 1 comment
Labels
D3 - basic issue D4 - good for beginners You can probably do this as long as you know basic java

Comments

@wingzero54
Copy link

wingzero54 commented Jun 2, 2021

The durability of every item of every player is being grabbed constantly, whether or not the player has their /config set to display durability. Scoreboard uses 1% of the server, and the vast majority of that is ScoreboardHUD.updateDurabilities(). Could be optimized by only updating durability if the player has it set to display in /config? Could also do it on a timer or something?

@wingzero54 wingzero54 added D4 - good for beginners You can probably do this as long as you know basic java D3 - basic issue labels Jun 2, 2021
@wingzero54
Copy link
Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
D3 - basic issue D4 - good for beginners You can probably do this as long as you know basic java
Projects
No open projects
Development

No branches or pull requests

1 participant