simplify check
This commit is contained in:
parent
fe4290b218
commit
90d0fb7efb
@ -79,7 +79,7 @@ public final class FollowProcess extends BaritoneProcessHelper implements IFollo
|
|||||||
if (entity.equals(ctx.player())) {
|
if (entity.equals(ctx.player())) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return ctx.world().loadedEntityList.contains(entity) || ctx.world().playerEntities.contains(entity);
|
return ctx.world().loadedEntityList.contains(entity);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void scanWorld() {
|
private void scanWorld() {
|
||||||
|
Loading…
Reference in New Issue
Block a user