diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-05-09 20:48:17 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-05-09 20:48:17 +0800 |
commit | f278831be47cc621e3cd4dd5f0fdc5f7ab7b7e1d (patch) | |
tree | 55347cec05d7410b864ae3e8dbf551c5379555d7 /features/waypoints | |
parent | 9efaf2250303d44089b2993af6f532921919f2fa (diff) | |
download | SoopyV2-f278831be47cc621e3cd4dd5f0fdc5f7ab7b7e1d.tar.gz SoopyV2-f278831be47cc621e3cd4dd5f0fdc5f7ab7b7e1d.tar.bz2 SoopyV2-f278831be47cc621e3cd4dd5f0fdc5f7ab7b7e1d.zip |
+ diana waypoints are now WICKED fast (and accurate
Diffstat (limited to 'features/waypoints')
-rw-r--r-- | features/waypoints/index.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/features/waypoints/index.js b/features/waypoints/index.js index bcd3fc5..7d2edb6 100644 --- a/features/waypoints/index.js +++ b/features/waypoints/index.js @@ -97,18 +97,18 @@ class Waypoints extends Feature { ChatLib.chat(this.FeatureManager.messagePrefix + "Error loading from clipboard!") } }) - //&r&9Party &8> &6[MVP&4++&6] Soopyboo32&f: &rx: -150, y: 73, z: -97 &r - //&r&6[MVP&r&4++&r&6] Soopyboo32&r&f: x: 23, y: 100, z: -2&r - //&r&6[MVP&r&4++&r&6] Soopyboo32&r&f: x: -22, y: 100, z: 7&r + this.registerChat("&r${*} &8> ${player}&f: &rx: ${x}, y: ${y}, z: ${z}", (player, x, y, z, e) => { if (this.loadWaypointsFromSendCoords.getValue()) { this.patcherWaypoints.push([Date.now(), parseInt(x), parseInt(y), parseInt(ChatLib.removeFormatting(z)), ChatLib.addColor(player)]) + if (this.patcherWaypoints.length > 10) this.patcherWaypoints.shift() } }) this.registerChat("${player}&r&f: x: ${x}, y: ${y}, z: ${z}", (player, x, y, z, e) => { if (player.includes(">")) return if (this.loadWaypointsFromSendCoords.getValue()) { this.patcherWaypoints.push([Date.now(), parseInt(x), parseInt(y), parseInt(ChatLib.removeFormatting(z)), ChatLib.addColor(player)]) + if (this.patcherWaypoints.length > 10) this.patcherWaypoints.shift() } }) |