Update Main.cs

This commit is contained in:
Lexxy Wolfgang
2025-06-16 07:43:57 -04:00
committed by GitHub
parent c4525e6cd3
commit 8b9dda2f65

View File

@@ -45,8 +45,7 @@ namespace LWGlass.Client
var (addr, data) = kvp;
if (data.Data.Type == glass)
{
GameObject obj = Decorations[0].DecorationObject;
obj.GetComponent<MeshRenderer>().sharedMaterial = LogicWorld.References.MaterialsCache.StandardUnlitColorTransparent(Color, (float) _glassTransparency/10);
mainWorld.Renderer.Entities.GetClientCode(addr).QueueFrameUpdate();
}
}
}