Skip to content

Commit

Permalink
improve the palette hack for 1.18 (#159)
Browse files Browse the repository at this point in the history
* improve the palette hack for 1.18

* Update PaletteChunkSection.js

* Update ChunkColumn.js
  • Loading branch information
rom1504 authored Jan 9, 2022
1 parent 849d794 commit 5892700
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pc/common/PaletteChunkSection.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ class ChunkSection {
}

this.data = this.data.set(blockIndex, stateId)
this.palette = this.data.palette
}

isEmpty () {
Expand Down

0 comments on commit 5892700

Please sign in to comment.