Fix color constructor (#502)

This commit is contained in:
Bloepiloepi 2021-10-23 15:15:55 +02:00 committed by GitHub
parent 9152c40753
commit c5f4ce8515
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@ public class Color implements RGBLike {
* @param rgbLike the color * @param rgbLike the color
*/ */
public Color(RGBLike rgbLike) { public Color(RGBLike rgbLike) {
this(rgbLike.red(), rgbLike.blue(), rgbLike.green()); this(rgbLike.red(), rgbLike.green(), rgbLike.blue());
} }
/** /**