mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-10-01 07:57:33 +02:00
Change getBlockId to get instead of indexOf
This commit is contained in:
parent
7d2ef743ac
commit
13c6a9d612
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user