Skip to content

Commit

Permalink
Make null tintBlock force enable AO
Browse files Browse the repository at this point in the history
- Make it so a null tintBlock force enables AO instead of using default AO
- Bump version
  • Loading branch information
PepperCode1 committed Oct 1, 2023
1 parent 06375a0 commit f70233b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ yarn_mappings = 1.19.4+build.2
loader_version = 0.14.21

# Mod Properties
mod_version = 3.0.0-beta.3
mod_version = 3.0.0-beta.4
mod_minecraft_version = 1.19.4
maven_group = me.pepperbell
archives_base_name = continuity
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ public static RenderMaterial findOverlayMaterial(BlendMode blendMode, @Nullable
finder.blendMode(blendMode);
if (tintBlock != null) {
finder.ambientOcclusion(TriState.of(canHaveAO(tintBlock)));
} else {
finder.ambientOcclusion(TriState.TRUE);
}
return finder.find();
}
Expand Down

0 comments on commit f70233b

Please sign in to comment.