Skip to content

Commit

Permalink
fix: Made BlockRotation#from public
Browse files Browse the repository at this point in the history
  • Loading branch information
phinner committed May 6, 2024
1 parent 6602bbe commit 53a1c2f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ public enum BlockRotation {
LEFT,
BOTTOM;

static BlockRotation from(final int rotation) {
public static BlockRotation from(final int rotation) {
return values()[rotation % 4];
}

static BlockRotation from(final byte rotation) {
public static BlockRotation from(final byte rotation) {
return values()[rotation % 4];
}
}

0 comments on commit 53a1c2f

Please sign in to comment.