fixed stained glass not rendering the water

This commit is contained in:
Marvelco
2026-04-16 21:26:40 +03:00
parent 4e5b225aba
commit 833e449c8c
7 changed files with 96 additions and 50 deletions
+2 -2
View File
@@ -38,7 +38,7 @@ int StainedGlassPaneBlock::getItemAuxValueForBlockData(int data)
int StainedGlassPaneBlock::getRenderLayer()
{
return 1;
return 2;
}
void StainedGlassPaneBlock::registerIcons(IconRegister *iconRegister)
@@ -49,4 +49,4 @@ void StainedGlassPaneBlock::registerIcons(IconRegister *iconRegister)
ICONS[i] = iconRegister->registerIcon(getIconName() + L"_" + DyePowderItem::COLOR_TEXTURES[getItemAuxValueForBlockData(i)]);
EDGE_ICONS[i] = iconRegister->registerIcon(getIconName() + L"_pane_top_" + DyePowderItem::COLOR_TEXTURES[getItemAuxValueForBlockData(i)]);
}
}
}