You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SpongeVanilla version: 1.12.2-7.3.0
Java version: 8
Operating System: Windows 10
Plugins: only my plugin in development (cosmos)
Hey,
Again a small ticket to inform that wrapping command elements with empty usage at the end of CommandElement#seq generates extra whitespace in command usage.
The problem occurs with GenericArguments#markTrue or GenericArguments#none and all elements with Text.EMPTY usage.
The text was updated successfully, but these errors were encountered:
thibaulthenry
changed the title
Wrapping command elements with empty usage at the end of #seq generates extra whitespace in usage
Wrapping command elements with empty usage at the end of seq generates extra whitespace in usage
Nov 10, 2020
Given how minor this issue is, the focus we have on getting our 1.15.2 builds completed and that the commands system has been completely rewritten for API 8 to support the client side completion, I will admit that it is very unlikely that I will look at this. However, I would welcome a PR to fix this if you have the inclination to do it.
Hey,
Again a small ticket to inform that wrapping command elements with empty usage at the end of CommandElement#seq generates extra whitespace in command usage.
The problem occurs with GenericArguments#markTrue or GenericArguments#none and all elements with Text.EMPTY usage.
For example:
will generates
It's limited to one extra whitespace per seq element, but with (ok.. kind of strange) arguments wrapping, it accumulates :
will generates
Thank you for reading this issue.
The text was updated successfully, but these errors were encountered: