diff --git a/common/src/main/java/ca/fxco/moreculling/utils/CacheUtils.java b/common/src/main/java/ca/fxco/moreculling/utils/CacheUtils.java index 5f08ed75..b5383ebd 100644 --- a/common/src/main/java/ca/fxco/moreculling/utils/CacheUtils.java +++ b/common/src/main/java/ca/fxco/moreculling/utils/CacheUtils.java @@ -24,7 +24,9 @@ public static void resetAllCache() { // Reset all model translucency cache Map allModels = ((BlockModelShaperAccessor) blockRenderManager.getBlockModelShaper()).getModels(); allModels.forEach((state, model) -> { - ((BakedOpacity) model).moreculling$resetTranslucencyCache(state); + if (!state.canOcclude()) { + ((BakedOpacity) model).moreculling$resetTranslucencyCache(state); + } }); //TODO: Reset quad cache MoreCulling.LOGGER.info(allModels.size() + " cache(s) where cleared!");