Skip to content

Commit

Permalink
Simple fix for Continuity models
Browse files Browse the repository at this point in the history
Relates to #177
  • Loading branch information
Su5eD committed Dec 14, 2024
1 parent a7b61d0 commit cf68abb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,13 @@ public boolean useAmbientOcclusion(BlockState state, RenderLayer renderType) {

@Override
public BakedModel applyTransform(ModelTransformationMode transformType, MatrixStack poseStack, boolean applyLeftHandTransform) {
return wrapped.applyTransform(transformType, poseStack, applyLeftHandTransform);
BakedModel result = wrapped.applyTransform(transformType, poseStack, applyLeftHandTransform);

if (result == wrapped) {
return this;
}

return result;
}

@Override
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,5 @@ fabric-client-tags-api-v1-version=1.1.2
loom.platform=forge
forge_version=1.20.1-47.2.6
pack_format=15
forgified_version=1.11.8
forgified_version=1.11.9
forge_fabric_loader_version=2.6.0+0.15.0+1.20.1

0 comments on commit cf68abb

Please sign in to comment.