mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-23 20:09:46 +03:00
Misc patches
This commit is contained in:
@@ -21,8 +21,10 @@ int GlassTile::getResourceCount(Random* pRandom)
|
||||
|
||||
int GlassTile::getRenderLayer()
|
||||
{
|
||||
#ifndef SERVER
|
||||
if (GetPatchManager()->IsGlassSemiTransparent())
|
||||
return LAYER_ALPHA;
|
||||
#endif
|
||||
|
||||
return LAYER_OPAQUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user