clientcommands
clientcommands copied to clipboard
Fix Command Redirects to avoid duplication of optional parameters
This fixes #164
Currently there isn't really a method of providing default arguments! This was already discussed by you @Earthcomputer in Mojang/brigadier#18 / Mojang/brigadier#19 and an implementation by @NeunEinser Mojang/brigadier#42 remains to be merged
I still think changing the suggestor is the best solution, but I'll keep this PR open in case I change my mind. (You missed a couple of withFlags btw, the best way to find them is to delete the withFlags and getFlags methods entirely and see if the project compiles).
Have you pulled recently? There is also one in /ccalc that was added a couple of days ago.