From ea3b0465d9998946762572e6095e3321f488a4de Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Thu, 2 Jun 2022 20:33:11 +0800 Subject: fix enderman beacon alert alerting for beacons across the map --- features/slayers/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'features/slayers/index.js') diff --git a/features/slayers/index.js b/features/slayers/index.js index 2745e5d..573a6a4 100644 --- a/features/slayers/index.js +++ b/features/slayers/index.js @@ -246,7 +246,7 @@ class Slayers extends Feature { } } }); - if (closestEIsGaming) { + if (closestEIsGaming && closestDist < 10) { this.beaconE.push(e); } } -- cgit