File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/gregtech/api/util Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -58,10 +58,10 @@ public enum ARGBHelper {
5858 * Remove the other two colors from the integer encoded ARGB and set the alpha to 255. <br/>
5959 * Will always return {@code 0xFF000000} if called on {@link #ALPHA}. <br/>
6060 * Unlike {@link #isolateAndShift(int)}, this will not be between 0 and 255. <br/>
61- * Example: {@code GREEN.isolateWithFullAlpha(0xDEADBEEF)} will return {@code 0xFF00BE00} or {@code 4278238720 }.
61+ * Example: {@code GREEN.isolateWithFullAlpha(0xDEADBEEF)} will return {@code 0xFF00BE00} or {@code -16728576 }.
6262 */
6363 public int isolateWithFullAlpha (int value ) {
64- return (value & overlay ) | 0xFF000000 ;
64+ return (value & overlay ) | ALPHA . overlay ;
6565 }
6666
6767 /**
You can’t perform that action at this time.
0 commit comments