Skip to content

Commit

Permalink
fix: chunks should only be initialised in the getOrCreateChunk method
Browse files Browse the repository at this point in the history
  • Loading branch information
dordsor21 committed Oct 14, 2023
1 parent 470c75d commit a764f6d
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,6 @@ default ChunkFilterBlock apply(ChunkFilterBlock block, Filter filter, Region reg
return block;
}
T chunk = this.getOrCreateChunk(chunkX, chunkZ);
// Initialize
chunk.init(this, chunkX, chunkZ);
chunk.setFastMode(isFastMode());

T newChunk = filter.applyChunk(chunk, region);
if (newChunk != null) {
Expand Down

0 comments on commit a764f6d

Please sign in to comment.