diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2021-12-25 02:06:46 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2021-12-25 02:06:46 +0800 |
commit | c3405b49823c507785d15a2c1e43aceefadcdd09 (patch) | |
tree | 7951bddfb26735343a21407a6a9c399d2deab1d1 /features | |
parent | e89e5215c0a32c0fdbecf3c04dd1352d8a0f3e14 (diff) | |
download | SoopyV2-c3405b49823c507785d15a2c1e43aceefadcdd09.tar.gz SoopyV2-c3405b49823c507785d15a2c1e43aceefadcdd09.tar.bz2 SoopyV2-c3405b49823c507785d15a2c1e43aceefadcdd09.zip |
fix ci?
Diffstat (limited to 'features')
-rw-r--r-- | features/slayers/index.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/features/slayers/index.js b/features/slayers/index.js index 6f2bc15..2ebe0fe 100644 --- a/features/slayers/index.js +++ b/features/slayers/index.js @@ -274,6 +274,16 @@ class Slayers extends Feature { } } } + }else{ //CT 2.0 support + for(let x = pos[0] - 5; x <= pos[0] + 5; x++){ + for(let y = pos[1] - 5; y <= pos[1] + 5; y++){ + for(let z = pos[2] - 5; z <= pos[2] + 5; z++){ + if(World.getBlockAt(Math.floor(x), Math.floor(y), Math.floor(z)).getType().getID() === 138){ + this.beaconLocations[e[m.getUniqueID.Entity]().toString()] = [Math.floor(x), Math.floor(y), Math.floor(z)] + } + } + } + } } // if(!this.beaconLocations[e[m.getUniqueID.Entity]().toString()]){ |