Revert "Handle 5 bit palette properly (1.16.1)"
This reverts commit 79b41d8ffd.
This commit is contained in:
parent
b8e751457c
commit
11cc04320c
7 changed files with 7 additions and 130 deletions
|
|
@ -178,8 +178,7 @@ public class ChunkSnapshot
|
|||
palette[pi] = DynmapBlockState.AIR;
|
||||
}
|
||||
}
|
||||
int recsperblock = (4096 + statelist.length - 1) / statelist.length;
|
||||
int bitsperblock = 64 / recsperblock;
|
||||
int bitsperblock = (statelist.length * 64) / 4096;
|
||||
BitArray db = new BitArray(bitsperblock, 4096, statelist);
|
||||
if (bitsperblock > 8) { // Not palette
|
||||
for (int j = 0; j < 4096; j++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue