fix: Add more documentation for user when incorrectly inputting color value

This commit is contained in:
xgraza
2026-01-25 03:26:29 -06:00
parent 6dac8bd221
commit c024fcdf65
@@ -68,7 +68,7 @@ public class ColorArgumentType implements ArgumentType<Color> {
private int[] parseColorElements(StringReader reader, String value) throws CommandSyntaxException {
String[] parts = value.split(",");
if (parts.length < 3) {
throw CommandExceptions.invalidArgument("Color element must have three values, either RGB or hsb:HSB")
throw CommandExceptions.invalidArgument("Color element must have three values (with optional alpha value), either RGB(A) or hsb:HSB")
.createWithContext(reader);
}