Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-27 00:22:51 +01:00
Change getBlockId to get instead of indexOf
Dieser Commit ist enthalten in:
Ursprung
7d2ef743ac
Commit
13c6a9d612
@ -48,7 +48,7 @@ public class ChunkSection1_9_1_2 implements ChunkSection {
|
|||||||
|
|
||||||
public int getBlockId(int x, int y, int z) {
|
public int getBlockId(int x, int y, int z) {
|
||||||
int index = blocks[index(x, y, z)];
|
int index = blocks[index(x, y, z)];
|
||||||
return palette.indexOf(index) >> 4;
|
return palette.get(index) >> 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren