From 589270013620a32906b48443bd55bbc1009549d0 Mon Sep 17 00:00:00 2001 From: Romain Beaumont Date: Sun, 9 Jan 2022 02:20:03 +0100 Subject: [PATCH] improve the palette hack for 1.18 (#159) * improve the palette hack for 1.18 * Update PaletteChunkSection.js * Update ChunkColumn.js --- src/pc/common/PaletteChunkSection.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pc/common/PaletteChunkSection.js b/src/pc/common/PaletteChunkSection.js index 670669ff..5ecac78e 100644 --- a/src/pc/common/PaletteChunkSection.js +++ b/src/pc/common/PaletteChunkSection.js @@ -62,6 +62,7 @@ class ChunkSection { } this.data = this.data.set(blockIndex, stateId) + this.palette = this.data.palette } isEmpty () {