diff options
| author | Andrew P. Harper <115321970+KoopaCode@users.noreply.github.com> | 2026-03-06 10:35:40 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-06 09:35:40 -0600 |
| commit | 1755cd58bebf19053c6b4bbf9915b07237e1c14e (patch) | |
| tree | e547fd02483a75246eafb146aafe5e27c618966a /Minecraft.World | |
| parent | de46641cdaba54b49e8ac76a0d3430eed0913139 (diff) | |
Fix Stained Glass being wrong colors (#529)
Fixes issue with stained glass not showing the correct color in the name
Diffstat (limited to 'Minecraft.World')
| -rw-r--r-- | Minecraft.World/WoolTileItem.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Minecraft.World/WoolTileItem.cpp b/Minecraft.World/WoolTileItem.cpp index 0f079571..e1ff8be6 100644 --- a/Minecraft.World/WoolTileItem.cpp +++ b/Minecraft.World/WoolTileItem.cpp @@ -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 |
