fix missing function

This commit is contained in:
Wagyourtail 2023-11-23 19:31:55 -07:00
parent 3dbcf0102a
commit 21feeb664e
No known key found for this signature in database
GPG Key ID: B72EB1D5CD437025
1 changed files with 1 additions and 2 deletions

View File

@ -192,7 +192,6 @@ public enum FasterWorldScanner implements IWorldScanner {
return;
}
int yOffset = section.bottomBlockY();
Palette<BlockState> palette = ((IPalettedContainer<BlockState>) sectionContainer).getPalette();
if (palette instanceof SingleValuePalette) {
@ -204,7 +203,7 @@ public enum FasterWorldScanner implements IWorldScanner {
for (int z = 0; z < 16; ++z) {
blocks.add(new BlockPos(
(int) chunkX + x,
yOffset + y,
sectionY + y,
(int) chunkZ + z
));
}