mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-18 07:12:55 +00:00
fix(jui): disable isConstantBlended for hotbar slot rendering
Fixes the issue where in the java UI hotbar, enchant glints make the item appear as a black texture
This commit is contained in:
parent
2131c12de7
commit
a9a3cbb0f5
|
|
@ -1349,7 +1349,8 @@ void Gui::renderSlot(int slot, int x, int y, float a) {
|
|||
}
|
||||
|
||||
itemRenderer->renderAndDecorateItem(minecraft->font, minecraft->textures,
|
||||
item, x, y);
|
||||
item, x, y, 1.0f, 1.0f, 1.0f,
|
||||
item->isFoil(), false);
|
||||
|
||||
if (pop > 0) {
|
||||
glPopMatrix();
|
||||
|
|
|
|||
Loading…
Reference in a new issue