diff --git a/gradle.properties b/gradle.properties index e920fed..3e62193 100644 --- a/gradle.properties +++ b/gradle.properties @@ -8,7 +8,7 @@ org.gradle.jvmargs = -Xmx1G loader_version = 0.11.7 # Mod Properties - mod_version = 1.0.1 + mod_version = 1.0.2 mod_minecraft_version = 1.17 maven_group = me.pepperbell archives_base_name = continuity diff --git a/src/main/java/me/pepperbell/continuity/client/model/CTMBakedModel.java b/src/main/java/me/pepperbell/continuity/client/model/CTMBakedModel.java index 3ae655d..cb7d6d7 100644 --- a/src/main/java/me/pepperbell/continuity/client/model/CTMBakedModel.java +++ b/src/main/java/me/pepperbell/continuity/client/model/CTMBakedModel.java @@ -185,18 +185,19 @@ public boolean shouldCull(BlockRenderView blockView, BlockPos pos, BlockState st if ((completionFlags & mask) == 0) { completionFlags |= mask; if (Block.shouldDrawSide(state, blockView, pos, cullFace, mutablePos.set(pos, cullFace))) { + resultFlags |= mask; return false; } else { - resultFlags |= mask; return true; } } else { - return (resultFlags & mask) == 1; + return (resultFlags & mask) == 0; } } public void prepare() { completionFlags = 0; + resultFlags = 0; } }