Fix Commit "Implement LCERenewed Changes"

This fixes commit cf0472117c.
This commit is contained in:
piebot
2026-03-26 17:57:03 +03:00
parent cf0472117c
commit d73ae8fd5c
11 changed files with 33 additions and 96 deletions
-3
View File
@@ -243,10 +243,7 @@ void ItemInHandRenderer::renderItem(shared_ptr<LivingEntity> mob, shared_ptr<Ite
MemSect(31);
minecraft->textures->bindTexture(minecraft->textures->getTextureLocation(Icon::TYPE_TERRAIN));
MemSect(0);
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
tileRenderer->renderTile(Tile::tiles[item->id], item->getAuxValue(), SharedConstants::TEXTURE_LIGHTING ? 1.0f : mob->getBrightness(1)); // 4J - change brought forward from 1.8.2
glDisable(GL_BLEND);
}
else
{