3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-08-01 03:48:02 +02:00

Change getBlockId to get instead of indexOf

Dieser Commit ist enthalten in:
Matsv 2016-07-02 20:45:34 +02:00
Ursprung 7d2ef743ac
Commit 13c6a9d612

Datei anzeigen

@ -48,7 +48,7 @@ public class ChunkSection1_9_1_2 implements ChunkSection {
public int getBlockId(int x, int y, int z) {
int index = blocks[index(x, y, z)];
return palette.indexOf(index) >> 4;
return palette.get(index) >> 4;
}
/**