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 2d91a6d commit 9c40919
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,13 @@ public TriState useAmbientOcclusion(BlockState state, ModelData data, RenderType

@Override
public BakedModel applyTransform(ItemDisplayContext transformType, PoseStack 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

0 comments on commit 9c40919

Please sign in to comment.