- Fix CharFilterBlock not being properly created (the chunk X and Z were never set)
 - Replace BlockVector3#divide with bitshift because you can't divide down and then bitshift back up with the correct results for negative values
This commit is contained in:
dordsor21
2020-04-19 13:56:02 +01:00
parent 7b9a64e9a6
commit b52fc46f19
2 changed files with 6 additions and 3 deletions

View File

@ -148,7 +148,7 @@ public interface IQueueExtent<T extends IChunk> extends Flushable, Trimable, ICh
if (newChunk != null) {
chunk = newChunk;
if (block == null) {
block = this.initFilterBlock();
block = this.initFilterBlock().initChunk(chunkX, chunkZ);
}
chunk.filterBlocks(filter, block, region, full);
}