mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2025-01-26 09:21:22 +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
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user