From 496572333507cfad72f14b63ae2bb5f2f2e63182 Mon Sep 17 00:00:00 2001 From: tr7zw Date: Sat, 25 May 2024 22:27:17 +0200 Subject: [PATCH] Fix #157 --- .../tr7zw/skinlayers/mixin/SkullBlockEntityRendererMixin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/dev/tr7zw/skinlayers/mixin/SkullBlockEntityRendererMixin.java b/src/main/java/dev/tr7zw/skinlayers/mixin/SkullBlockEntityRendererMixin.java index 312c155..a943122 100644 --- a/src/main/java/dev/tr7zw/skinlayers/mixin/SkullBlockEntityRendererMixin.java +++ b/src/main/java/dev/tr7zw/skinlayers/mixin/SkullBlockEntityRendererMixin.java @@ -112,7 +112,7 @@ private static void renderSkull(Direction direction, float f, float g, PoseStack // spotless:on if (skullModelBase instanceof SkullModelAccessor) { SkullModelAccessor accessor = (SkullModelAccessor) skullModelBase; - if (!renderNext) { + if (!renderNext || lastSkull == null) { accessor.showHat(true); lastSkull = null; return;