Worldedit: /set red
LadyCailinBot opened this issue ยท 10 comments
WORLDEDIT-3244 - Reported by LordRazen
If you make a selection and want to fill it with red wool using the command "/set red", sugar-cane blocks are blaced and decay immediatly.
You can find my actual server-config here:
http://youtrack.sk89q.com/issue/WORLDGUARD-3323
Comment by wizjany
it's doing typo detection and detecting 'reed'...
easiest way around this is to specify wool:color instead of just color
Comment by LordRazen
yeah I already know a workaround, but I still hope you turn off correction in this case - since //set white or //set black works, too ;)
Comment by wizjany
Honestly, I'm not sure it's a good idea to even have //set color, since we now have so many blocks (wool, carpets, clay, glass, banners?, maybe more) that can use colors.
Additionally, even if we were to hardcode an exception for "red" (which is super ugly to do anyway), there are probably other typos close to the color names that could pop up as issues
Comment by sk89q
The real problem is that the typo detection code doesn't first collect a list of weighted candidates and then choose the best one. Instead, it currently picks off the first candidate as the winner.
Comment by LordRazen
do you plan to fix it or remove the feature? would be great to know. I'm guessing that most worldedit-users are familiar that the //set color command is for colored wool and not colored carpet or hardened clay...
Comment by sk89q
It should be fixed... just need to find some time to do it.
Comment by wizjany
He meant that it is something that should be changed, not that it has been.
Comment by LordRazen
I know, but three months passed and nothing happened, so I was wondering if it ever will.