mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-28 07:35:47 +00:00
Fixed typo in addRGBComponents
This commit is contained in:
1 parent
7556f1d597
commit
a62764a5ee
1 file changed
+1
-1
@@ -320,7 +320,7 @@ public class Utils {
|
||||
|
||||
public static int addRGBComponents(int colour, int r, int g, int b) {
|
||||
r = ((colour & 0xff0000) >> 16) + r;
|
||||
g = ((colour & 0xff00) >> 8) + b;
|
||||
g = ((colour & 0xff00) >> 8) + g;
|
||||
b = ((colour & 0xff)) + b;
|
||||
|
||||
r = r <= 255 ? r : 255;
|
||||
|
||||
Reference in new issue
Block a user