aboutsummaryrefslogtreecommitdiff
path: root/features/slayers/index.js
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-04-22 12:48:12 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-04-22 12:48:12 +0800
commit2cfc95522fa4c28ebcd9d091bc0a0c5f80e1aaeb (patch)
tree55d0384f39d112b02e07aaaa7130436ff5dd1c44 /features/slayers/index.js
parentdf6d64bd51ba041fe227eaee166735cad32afbf3 (diff)
downloadSoopyV2-2cfc95522fa4c28ebcd9d091bc0a0c5f80e1aaeb.tar.gz
SoopyV2-2cfc95522fa4c28ebcd9d091bc0a0c5f80e1aaeb.tar.bz2
SoopyV2-2cfc95522fa4c28ebcd9d091bc0a0c5f80e1aaeb.zip
Burrial location estimation
Diffstat (limited to 'features/slayers/index.js')
-rw-r--r--features/slayers/index.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/features/slayers/index.js b/features/slayers/index.js
index 50e5867..59453c1 100644
--- a/features/slayers/index.js
+++ b/features/slayers/index.js
@@ -276,9 +276,13 @@ class Slayers extends Feature {
// if (e instanceof net.minecraft.entity.item.EntityArmorStand && e[m.getCustomNameTag]()) {
// let name = e[m.getCustomNameTag]()
// let isPiller = true
- // if (name.split(" ")[0].split("").pop() !== "s") isPiller = false
- // if (name.split(" ")[0].split("").pop() !== "s") isPiller = false
+ // if (isPiller && name.trim().split(" ").length !== 2) isPiller = false
+ // if (isPiller && name.trim().split(" ")[0].split("").pop() !== "s") isPiller = false
+ // if (isPiller && name.trim().split(" ")[1].split("").pop() !== "s") isPiller = false
// //TODO: thus
+ // if (isPiller) {
+ // ChatLib.chat(name)
+ // }
// }
} catch (_) {
console.log(JSON.stringify(_, undefined, 2));