mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
fix: chunks should only be initialised in the getOrCreateChunk method (#2462)
This commit is contained in:
parent
256ef74452
commit
36a892eb37
@ -135,9 +135,6 @@ public interface IQueueExtent<T extends IChunk> extends Flushable, Trimable, ICh
|
|||||||
return block;
|
return block;
|
||||||
}
|
}
|
||||||
T chunk = this.getOrCreateChunk(chunkX, chunkZ);
|
T chunk = this.getOrCreateChunk(chunkX, chunkZ);
|
||||||
// Initialize
|
|
||||||
chunk.init(this, chunkX, chunkZ);
|
|
||||||
chunk.setFastMode(isFastMode());
|
|
||||||
|
|
||||||
T newChunk = filter.applyChunk(chunk, region);
|
T newChunk = filter.applyChunk(chunk, region);
|
||||||
if (newChunk != null) {
|
if (newChunk != null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user