mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 15:17:59 +01:00
Fixed tab colours being calculated incorrectly
This commit is contained in:
parent
e97b461f91
commit
f90ad6d173
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ public class SpellbookScreen extends HandledScreen<SpellbookScreenHandler> imple
|
|||
if (color == 0xFFFFFF || color == 0) {
|
||||
v += 48;
|
||||
} else {
|
||||
RenderSystem.setShaderColor(NativeImage.getRed(color), NativeImage.getGreen(color), NativeImage.getBlue(color), 1);
|
||||
RenderSystem.setShaderColor(NativeImage.getRed(color) / 255F, NativeImage.getGreen(color) / 255F, NativeImage.getBlue(color) / 255F, 1);
|
||||
}
|
||||
|
||||
boolean isRight = tab.chapter().side() == TabSide.RIGHT;
|
||||
|
|
Loading…
Reference in a new issue