Skip to content

Commit

Permalink
Fix vanilla Ambient Occlusion (not enabled by default) (fixes #124)
Browse files Browse the repository at this point in the history
  • Loading branch information
comp500 committed Jun 15, 2022
1 parent 67971b0 commit 46165be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ minecraft_version=1.19
yarn_mappings=1.19+build.1
loader_version=0.14.6
# Mod Properties
mod_version=1.0.4
mod_version=1.0.5
maven_group=link.infra
archives_base_name=indium
# Dependencies
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public static void initialize(BlockModelRenderer instance) {
@Override
public AccessAmbientOcclusionCalculator get() {
try {
return (AccessAmbientOcclusionCalculator) constructor.newInstance(instance);
return (AccessAmbientOcclusionCalculator) constructor.newInstance();
} catch (Exception e) {
Indium.LOGGER.warn("[Indium] Exception accessing vanilla smooth lighter", e);
return null;
Expand Down

0 comments on commit 46165be

Please sign in to comment.