Skip to content

Commit aeecc6d

Browse files
authored
fix MC-197260 causing armorstand preview within smithing table screen to render dark (#525)
1 parent eb52439 commit aeecc6d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/client/java/dev/isxander/debugify/client/mixins/basic/mc197260/ArmorStandRendererMixin.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ protected ArmorStandRendererMixin(EntityRendererProvider.Context context) {
3333
*/
3434
@Override
3535
public void debugify$modifyLightCoords(ArmorStandRenderState livingEntity) {
36+
if (LightTexture.sky(livingEntity.lightCoords) >= 15 || LightTexture.block(livingEntity.lightCoords) >= 15) return;
37+
3638
BlockPos mainPos = BlockPos.containing(livingEntity.x, livingEntity.y, livingEntity.z);
3739
ClientLevel level = Minecraft.getInstance().level;
3840

0 commit comments

Comments
 (0)