From a62764a5ee444bdb4025f482496a0ad48fd5e1e0 Mon Sep 17 00:00:00 2001 From: James Mitchell Date: Thu, 14 Aug 2014 00:16:46 -0700 Subject: [PATCH] Fixed typo in addRGBComponents --- src/main/java/forestry/core/utils/Utils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/forestry/core/utils/Utils.java b/src/main/java/forestry/core/utils/Utils.java index 7aa851825..2a123d77d 100755 --- a/src/main/java/forestry/core/utils/Utils.java +++ b/src/main/java/forestry/core/utils/Utils.java @@ -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;