MaLiLib (Forge)

MaLiLib (Forge)

291k Downloads

Wrong mask constant in Color4f on line 62

Jojo4GH opened this issue ยท 2 comments

commented

How it is:
float g = ((color & 0x000FF000) >>> 8) / 255f;
How it should be:
float g = ((color & 0x0000FF00) >>> 8) / 255f;

commented

this was found out recently by the dev too, should be fixed for 1.12.2 afaik or in dev atleast

commented

I'm more curious how I (or nobody else) noticed this before, and how this didn't break all my mod colors up until now...