Add a flag to "/sign edit" concerning whitespaces and alignment
LadyCailinBot opened this issue ยท 10 comments
CRAFTBOOK-3072 - Reported by Weby
When typing text with "/sign edit" function, there is no way to tell the function NOT to trim the leading/trailing whitespaces.
-
Either implement a simple flag allowing us to NOT trim said whitespaces
-
Or implement an "align" flag which would allow us to easily align the text to the left/right.
-
Or both.
I would like to have the 1st option implemented at the very least, since it is really an easy fix who requires, in my opinion, really few lines, and allows us a better grip on the actual outcome. But having the "align" flag would be a god plus, and would certainly be useful to some people.
Comment by wizjany
{{/sign edit}} is not a worldedit command...?
edit: misread, but not a worldguard command either.
Comment by Weby
Sorry, it's a craftbook one. Before stating something as invalid, would be better to double check if the user reporting the fact didn't simply make a mistake selecting the project ;)
Comment by wizjany
I assumed that much, but since you didn't mention it yourself, I had no way of knowing since I don't use craftbook myself. Could be some completely unrelated plugin for all I know, wouldn't be the first time.
Comment by me4502
To not remove whitespaces, just put the text inside "s, eg " aligned text "
Comment by Weby
Doesn't seem to work when you have many whitespaces. Eg: " aligned".
Comment by me4502
The craftBook command does not trim whitespaces, if it is happening its most likely minecraft
This is a bug in the command processor - we're now using Piston. Moving to the Piston issue tracker, EngineHub/Piston#35