mirror of
https://github.com/FabricMC/fabric.git
synced 2025-04-02 02:00:14 -04:00
parent
099c1e8b8c
commit
ad361ed1b6
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ public class ItemRenderContext extends AbstractRenderContext implements RenderCo
|
|||
private int quadColor() {
|
||||
final int colorIndex = editorQuad.colorIndex();
|
||||
int quadColor = color;
|
||||
if (!enchantment && quadColor == -1 && colorIndex != 1) {
|
||||
if (!enchantment && quadColor == -1 && colorIndex != -1) {
|
||||
quadColor = colorMap.getColorMultiplier(itemStack, colorIndex);
|
||||
quadColor |= -16777216;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue