simplify check

This commit is contained in:
Leijurv 2018-12-17 18:27:31 -08:00
parent fe4290b218
commit 90d0fb7efb
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -79,7 +79,7 @@ public final class FollowProcess extends BaritoneProcessHelper implements IFollo
if (entity.equals(ctx.player())) {
return false;
}
return ctx.world().loadedEntityList.contains(entity) || ctx.world().playerEntities.contains(entity);
return ctx.world().loadedEntityList.contains(entity);
}
private void scanWorld() {