This commit is contained in:
Dan Macbook 2020-08-14 17:39:06 -04:00
parent a1d6431348
commit ddd29529ea
2 changed files with 5 additions and 0 deletions

View File

@ -47,6 +47,7 @@ public abstract class CeilingChunkGenerator extends PostBlockChunkGenerator
ceilingCached = false; ceilingCached = false;
cacheCeiling = null; cacheCeiling = null;
cacheFloor = null; cacheFloor = null;
getCache().targetChunk(0, 0);
} }
private void targetFloor() private void targetFloor()

View File

@ -102,4 +102,8 @@ public class AtomicMulticache {
public void updateHeight(int x, int z, int h) { public void updateHeight(int x, int z, int h) {
height.put(pos(x, z), (double) h); height.put(pos(x, z), (double) h);
} }
public double getSize() {
return height.size();
}
} }