fix: chunks should only be initialised in the getOrCreateChunk method (#2462)

This commit is contained in:
Jordan 2023-10-26 20:14:39 +01:00 committed by GitHub
parent 256ef74452
commit 36a892eb37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -135,9 +135,6 @@ public interface IQueueExtent<T extends IChunk> extends Flushable, Trimable, ICh
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) {