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:
@@ -115,6 +115,11 @@ Icon *WoolTileItem::getIcon(int itemAuxValue)
|
|||||||
#ifndef _CONTENT_PACKAGE
|
#ifndef _CONTENT_PACKAGE
|
||||||
if(Tile::tiles[id])
|
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));
|
return Tile::tiles[id]->getTexture(2, ColoredTile::getTileDataForItemAuxValue(itemAuxValue));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user