Fix
All checks were successful
Gestus/pipeline/head This commit looks good

This commit is contained in:
TheBrokenRail 2020-08-11 22:20:27 -04:00
parent 6cedb984fe
commit 248f925b99

View File

@ -77,7 +77,7 @@ public final class SkinColor {
} }
private static Color averageColor(Color color1, Color color2) { private static Color averageColor(Color color1, Color color2) {
int sumRed = color1.getRed() + color2.getRed(); long sumRed = color1.getRed() + color2.getRed();
long sumGreen = color1.getGreen() + color2.getGreen(); long sumGreen = color1.getGreen() + color2.getGreen();
long sumBlue = color1.getBlue() + color2.getBlue(); long sumBlue = color1.getBlue() + color2.getBlue();
return new Color(sumRed / 2, sumGreen / 2, sumBlue / 2); return new Color(sumRed / 2, sumGreen / 2, sumBlue / 2);