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

Every brush is force reloaded on player join #16

Open
libraryaddict opened this issue Apr 22, 2021 · 0 comments
Open

Every brush is force reloaded on player join #16

libraryaddict opened this issue Apr 22, 2021 · 0 comments

Comments

@libraryaddict
Copy link

amountOfValidBrushes = Session.initializeValidBrushes();

Session.initializeValidBrushes(); - This method clears a map then loads all the brushes from scratch again. This is.. Rather laggy if you have a fair amount of brushes.

https://github.com/Arcaniax-Development/goBrush/blob/master/src/main/java/com/arcaniax/gobrush/object/BrushPlayer.java#L63

This is why its called on player join.

darksaid98 added a commit to milkdrinkers/GoBrushContinued that referenced this issue Aug 15, 2023
Thanks to Arcaniax-Development#16 for reporting the issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant