Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Commit

Permalink
disable incorrect unused warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mist475 committed Nov 28, 2023
1 parent 5cf9c09 commit 5fca12f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/com/prupe/mcpatcher/cc/ColorizeBlock.java
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,8 @@ private static float[] getVertexColor(IBlockAccess blockAccess, IColorMap colorM
}
}

// Called by asm
@SuppressWarnings("unused")
public static boolean setupBlockSmoothing(RenderBlocks renderBlocks, Block block, IBlockAccess blockAccess, int i,
int j, int k, int face, float topLeft, float bottomLeft, float bottomRight, float topRight) {
return RenderBlocksUtils.useColorMultiplier(face) && setupBiomeSmoothing(
Expand Down

0 comments on commit 5fca12f

Please sign in to comment.