dont crash when exiting a world

This commit is contained in:
Leijurv 2019-04-12 21:48:02 -07:00
parent 6741666c24
commit 6e97fe2210
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -45,6 +45,9 @@ public class BackfillProcess extends BaritoneProcessHelper {
@Override
public boolean isActive() {
if (ctx.player() == null || ctx.world() == null) {
return false;
}
if (!Baritone.settings().backfill.value) {
return false;
}