* Use a Tree Map for children to save on performance
Everytime a child is added to the CommandNode, the children was sorted.
This action is extremely heavy with large node trees such as Minecraft.
From what I can see, sort order was not even needed by type since
the dispatcher parse checks argument and literal nodes instead.
Testing on /bossbar command seemed to have no impact to behavior.
Credit to https://github.com/PaperMC/Paper/commit/dda9680be520bba8cc8b4a20072af42bd8420e7a
Co-authored-by: virustotalop <[email protected]>
* Restore back to a LinkedHashMap
since iteration order isn't important anyways.
Co-authored-by: virustotalop <[email protected]>