Skip to content

Commit

Permalink
Fix code
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexProgrammerDE committed Nov 25, 2024
1 parent 0d0d927 commit 8002f7b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public static long asLong(Vector3i vec) {
public static long asLong(int x, int y, int z) {
var l = 0L;
l |= ((long) x & PACKED_X_MASK) << X_OFFSET;
l |= ((long) y & PACKED_Y_MASK);
l |= ((long) y & PACKED_Y_MASK) << Y_OFFSET;
return l | ((long) z & PACKED_Z_MASK) << Z_OFFSET;
}
}

0 comments on commit 8002f7b

Please sign in to comment.