make the completion check a setting
This commit is contained in:
parent
714c6773c3
commit
e8b4f4d2b6
@ -717,6 +717,12 @@ public final class Settings {
|
|||||||
*/
|
*/
|
||||||
public final Setting<Boolean> exploreUsePythagorean = new Setting<>(false);
|
public final Setting<Boolean> exploreUsePythagorean = new Setting<>(false);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Turn this on if your exploration filter is enormous, you don't want it to check if it's done,
|
||||||
|
* and you are just fine with it just hanging on completion
|
||||||
|
*/
|
||||||
|
public final Setting<Boolean> disableCompletionCheck = new Setting<>(false);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cached chunks (regardless of if they're in RAM or saved to disk) expire and are deleted after this number of seconds
|
* Cached chunks (regardless of if they're in RAM or saved to disk) expire and are deleted after this number of seconds
|
||||||
* -1 to disable
|
* -1 to disable
|
||||||
|
@ -83,7 +83,7 @@ public class ExploreProcess extends BaritoneProcessHelper implements IExplorePro
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
IChunkFilter filter = calcFilter();
|
IChunkFilter filter = calcFilter();
|
||||||
if (filter.finished()) {
|
if (!Baritone.settings().disableCompletionCheck.value && filter.finished()) {
|
||||||
logDirect("Explored all chunks");
|
logDirect("Explored all chunks");
|
||||||
onLostControl();
|
onLostControl();
|
||||||
return null;
|
return null;
|
||||||
|
Loading…
Reference in New Issue
Block a user