temporarily disable cached region ram pruning

This commit is contained in:
Leijurv
2018-11-05 17:30:45 -08:00
parent 75a224cef1
commit d59c7cb7a8
2 changed files with 11 additions and 1 deletions

View File

@@ -165,6 +165,9 @@ public final class CachedWorld implements ICachedWorld, Helper {
* Delete regions that are too far from the player
*/
private synchronized void prune() {
if (!Baritone.settings().pruneRegionsFromRAM.get()) {
return;
}
BlockPos pruneCenter = guessPosition();
for (CachedRegion region : allRegions()) {
if (region == null) {