Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-28 17:10:13 +01:00
Clarify error in BlockChangeRecord1_16_2
Dieser Commit ist enthalten in:
Ursprung
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren