From 90d0fb7efbaa9172f9096f6a5a935f025b006801 Mon Sep 17 00:00:00 2001 From: Leijurv Date: Mon, 17 Dec 2018 18:27:31 -0800 Subject: [PATCH] simplify check --- src/main/java/baritone/process/FollowProcess.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/baritone/process/FollowProcess.java b/src/main/java/baritone/process/FollowProcess.java index 84ab0748..4c9c1263 100644 --- a/src/main/java/baritone/process/FollowProcess.java +++ b/src/main/java/baritone/process/FollowProcess.java @@ -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() {