Change getBlockId to get instead of indexOf

This commit is contained in:
Matsv 2016-07-02 20:45:34 +02:00
parent 7d2ef743ac
commit 13c6a9d612

View File

@ -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;
}
/**