[BUG] Color4f from integer gives incorrect green value #71
Labels
bug
Something isn't working
fixed-in-dev
Already fixed in development code, fix will be in upcoming releases
Green value when unpacking a color int is always when doing it though Color4f. The bitshift operator uses
0x000FF000
when it should instead be0x0000FF00
.https://github.com/maruohon/malilib/blob/fabric_1.18.x/src/main/java/fi/dy/masa/malilib/util/Color4f.java#L62
The text was updated successfully, but these errors were encountered: