aboutsummaryrefslogtreecommitdiff
path: root/features/slayers/index.js
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-06-02 20:33:11 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-06-02 20:33:11 +0800
commitea3b0465d9998946762572e6095e3321f488a4de (patch)
tree723619a595c25fa1a9a88c0a36866906be2a2421 /features/slayers/index.js
parent9d1a7e4ebc4428be0e086dd4d75646294ba51f53 (diff)
downloadSoopyV2-ea3b0465d9998946762572e6095e3321f488a4de.tar.gz
SoopyV2-ea3b0465d9998946762572e6095e3321f488a4de.tar.bz2
SoopyV2-ea3b0465d9998946762572e6095e3321f488a4de.zip
fix enderman beacon alert alerting for beacons across the map
Diffstat (limited to 'features/slayers/index.js')
-rw-r--r--features/slayers/index.js2
1 files changed, 1 insertions, 1 deletions
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);
}
}