From 9c6e436fe316158ee71672652546949e2b4ded80 Mon Sep 17 00:00:00 2001 From: Adrien1106 Date: Sat, 2 Mar 2024 01:29:08 +0100 Subject: [PATCH] fixed culling error and updated version to 1.3 --- gradle.properties | 2 +- src/main/java/fr/adrien1106/reframed/block/ReFramedBlock.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index 42582c6..458489a 100644 --- a/gradle.properties +++ b/gradle.properties @@ -8,7 +8,7 @@ yarn_mappings=1.20.4+build.3 loader_version=0.15.6 # Mod Properties -mod_version = 1.2 +mod_version = 1.3 maven_group = fr.adrien1106 archives_base_name = ReFramed mod_id = reframed diff --git a/src/main/java/fr/adrien1106/reframed/block/ReFramedBlock.java b/src/main/java/fr/adrien1106/reframed/block/ReFramedBlock.java index 9ed3ccf..f015934 100644 --- a/src/main/java/fr/adrien1106/reframed/block/ReFramedBlock.java +++ b/src/main/java/fr/adrien1106/reframed/block/ReFramedBlock.java @@ -269,7 +269,7 @@ public class ReFramedBlock extends Block implements BlockEntityProvider { if (self_theme.isSideInvisible(other_state, side)) return false; // Opaque is also simple as each model are rendered one by one - if (self_theme.isOpaque()) { + if (other_state.isOpaque()) { // no cache section :( because it differs between each instance of the frame VoxelShape self_shape = self_block.getShape(self_state, theme_index).getFace(side); if (self_shape.isEmpty()) return true;