Fix Stained Glass being wrong colors (#529)

Fixes issue with stained glass not showing the correct color in the name
This commit is contained in:
Andrew P. Harper
2026-03-06 10:35:40 -05:00
committed by GitHub
parent de46641cda
commit 1755cd58be

View File

@@ -115,6 +115,11 @@ Icon *WoolTileItem::getIcon(int itemAuxValue)
#ifndef _CONTENT_PACKAGE
if(Tile::tiles[id])
{
if (id == Tile::stained_glass_Id || id == Tile::stained_glass_pane_Id)
{
return Tile::tiles[id]->getTexture(2, itemAuxValue);
}
return Tile::tiles[id]->getTexture(2, ColoredTile::getTileDataForItemAuxValue(itemAuxValue));
}
else