Skip to content

Commit

Permalink
Update ConnectFourCommand.java
Browse files Browse the repository at this point in the history
Co-authored-by: Joseph Burton <[email protected]>
  • Loading branch information
RealRTTV and Earthcomputer authored Nov 30, 2024
1 parent 2f490ba commit 2b91ac5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ public static void render(GuiGraphics graphics, int x, int y, byte piece, boolea
ConnectFourGameScreen.TEXTURE_PIECE_HEIGHT,
ConnectFourGameScreen.TEXTURE_PIECES_WIDTH,
ConnectFourGameScreen.TEXTURE_PIECES_HEIGHT,
((transparent ? 0x7F : 0xFF) << 24) | 0xFFFFFF // if I wanted, it could be (-1 >>> (transparent ? 1 : 0))
transparent ? 0x7f_ffffff : 0xff_ffffff
);
}
}
Expand Down

0 comments on commit 2b91ac5

Please sign in to comment.