-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Async command map building #3116
Conversation
Impl looks perfectly fine to me. is it running fine for you behaviorally? Tested with a plugin using the event? |
Had someone test it, looks like it broke tab complete completely. no errors in console either. https://i.gyazo.com/1c9616a53411e3acd73159de77a159ef.png Guess it's not possible? |
I did actually wanna look into this a while back, but there was a thing or two which I'd figured I'd have to look into, but it's doable |
As Billy pointed out, I was using |
Reduces lag created on login and world change for sending the command map to client
Builds the command map async, focuses on fixing the root problem described in #2938 instead of just ignoring it. Leaf said he had a better idea but since I had this finished already.. thought might as well PR it.
Needs testing from someone who suffers from lag spikes when players connect/change worlds.
Shows up as CommandDispatcher.a() in sampler reports.