From 6efd76ac8d89315147b7cc76c1aad6d58bfa94b0 Mon Sep 17 00:00:00 2001 From: Romain Beaumont Date: Thu, 6 Jan 2022 23:45:02 +0100 Subject: [PATCH] expose palette in 1.18 (#155) 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 () {