Block: getBlockType() -> getType()
This commit is contained in:
@@ -171,7 +171,7 @@ public class ChunkDataPacket implements SCPacket {
|
||||
for (int z = 0; z < 16; z++) {
|
||||
for (int x = 0; x < 16; x++) {
|
||||
Block block = chunkSection.getBlock(x, y, z);
|
||||
int blockState = serializeBlockState(block.getBlockType());
|
||||
int blockState = serializeBlockState(block.getType());
|
||||
|
||||
int currentIndexPaletteBlock;
|
||||
if (!palette.contains(blockState)) {
|
||||
|
||||
Reference in New Issue
Block a user