From 31c9ab0b1e30977eaf19130a6adb59a39de91e03 Mon Sep 17 00:00:00 2001 From: piebot <164795032+piebotc@users.noreply.github.com> Date: Fri, 20 Mar 2026 05:54:01 +0300 Subject: [PATCH] Fix beacon --- Minecraft.Client/BeaconRenderer.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Minecraft.Client/BeaconRenderer.cpp b/Minecraft.Client/BeaconRenderer.cpp index ed6e5db4..59c2a684 100644 --- a/Minecraft.Client/BeaconRenderer.cpp +++ b/Minecraft.Client/BeaconRenderer.cpp @@ -72,9 +72,7 @@ void BeaconRenderer::render(shared_ptr _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) {