mirror of
https://github.com/Samsuik/Sakura.git
synced 2025-12-19 14:59:30 +00:00
Fix merging and the block density cache
This commit is contained in:
@@ -88,6 +88,11 @@ public abstract class SpecialisedExplosion<T extends Entity> extends ServerExplo
|
||||
}
|
||||
|
||||
java.util.Arrays.fill(this.directMappedBlockCache, null);
|
||||
|
||||
// Invalidate block density cache
|
||||
if (destroyedBlocks && !this.level().paperConfig().environment.optimizeExplosions) {
|
||||
this.level().densityCache.invalidate();
|
||||
}
|
||||
}
|
||||
|
||||
protected final void recalculateExplosionPosition() {
|
||||
|
||||
Reference in New Issue
Block a user