mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-04-23 07:27:20 +00:00
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:
parent
de46641cda
commit
1755cd58be
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue