mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2025-02-04 13:51:23 +01:00
Clarify error in BlockChangeRecord1_16_2
This commit is contained in:
parent
8d904ca010
commit
e502f2c96d
@ -36,7 +36,7 @@ public class BlockChangeRecord1_16_2 implements BlockChangeRecord {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public short getY(int chunkSectionY) {
|
public short getY(int chunkSectionY) {
|
||||||
Preconditions.checkArgument(chunkSectionY >= 0 && chunkSectionY < 16);
|
Preconditions.checkArgument(chunkSectionY >= 0 && chunkSectionY < 16, "Invalid chunkSectionY: " + chunkSectionY);
|
||||||
return (short) ((chunkSectionY << 4) + sectionY);
|
return (short) ((chunkSectionY << 4) + sectionY);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user