From 8f4e987c094a33f35778f58e7a44c4ded2d00809 Mon Sep 17 00:00:00 2001 From: Romain Beaumont Date: Thu, 6 Jan 2022 22:43:02 +0000 Subject: [PATCH] expose palette in 1.18 https://github.com/PrismarineJS/prismarine-chunk/issues/153 or even https://github.com/PrismarineJS/prismarine-chunk/issues/154 will be a better fix --- 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 c533f9d2..670669ff 100644 --- a/src/pc/common/PaletteChunkSection.js +++ b/src/pc/common/PaletteChunkSection.js @@ -29,6 +29,7 @@ class ChunkSection { } } } + this.palette = this.data.palette } toJson () {