mirror of
https://github.com/neoStudiosLCE/neoLegacy.git
synced 2026-06-09 02:42:54 +00:00
Fix beacon
This commit is contained in:
parent
660cb22e91
commit
31c9ab0b1e
|
|
@ -72,9 +72,7 @@ void BeaconRenderer::render(shared_ptr<TileEntity> _beacon, double x, double y,
|
|||
|
||||
if (tileID == Tile::stained_glass_Id || tileID == Tile::stained_glass_pane_Id) {
|
||||
int meta = level->getData(bx, i, bz);
|
||||
int colorIdx = (tileID == Tile::stained_glass_Id) ?
|
||||
StainedGlassBlock::getItemAuxValueForBlockData(meta) :
|
||||
StainedGlassPaneBlock::getItemAuxValueForBlockData(meta);
|
||||
int colorIdx = StainedGlassBlock::getItemAuxValueForBlockData(meta);
|
||||
|
||||
|
||||
if (firstGlass) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue