diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-06-18 15:00:52 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-06-18 15:00:52 +0800 |
commit | 41eff54ca9372c845f69b715ca0fcc737b00eb20 (patch) | |
tree | eafc42f7d30c6e064ce0f2fb9f91e01144ce7b29 /features | |
parent | d917c29ab42fbbe44d7dfff27856458477f9202f (diff) | |
download | SoopyV2-41eff54ca9372c845f69b715ca0fcc737b00eb20.tar.gz SoopyV2-41eff54ca9372c845f69b715ca0fcc737b00eb20.tar.bz2 SoopyV2-41eff54ca9372c845f69b715ca0fcc737b00eb20.zip |
+ dont set inquis's as urs if u tp to them (check is based off inquis hp)
Diffstat (limited to 'features')
-rw-r--r-- | features/changeLogGUI/index.js | 2 | ||||
-rw-r--r-- | features/events/index.js | 2 | ||||
-rw-r--r-- | features/globalSettings/index.js | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/features/changeLogGUI/index.js b/features/changeLogGUI/index.js index ffd826b..6b50fdb 100644 --- a/features/changeLogGUI/index.js +++ b/features/changeLogGUI/index.js @@ -45,7 +45,7 @@ class ChangeLogGui extends Feature { } let alertBeta = this.FeatureManager.features["globalSettings"].class.alertAllUpdates.getValue() - if (this.latestAnnouncedVersion < alertBeta ? this.ChangelogPage.downloadableVersion : this.ChangelogPage.importantVersion) { + if (this.latestAnnouncedVersion < (alertBeta ? this.ChangelogPage.downloadableVersion : this.ChangelogPage.importantVersion)) { let version = "" this.ChangelogPage.changelogData.forEach(data => { diff --git a/features/events/index.js b/features/events/index.js index 632be08..abc50d6 100644 --- a/features/events/index.js +++ b/features/events/index.js @@ -174,7 +174,7 @@ class Events extends Feature { this.todoE.forEach(e => { e = new Entity(e) - if (e.getName().toLowerCase().includes("inquis") && Math.abs(e.getY() - Player.getY()) < 10 && Math.abs(e.getX() - Player.getX()) < 10 && Math.abs(e.getZ() - Player.getZ()) < 10) { + if (e.getName().toLowerCase().includes("inquis") && ChatLib.removeFormatting(e.getName().toLowerCase()).includes("40m/40m") && Math.abs(e.getY() - Player.getY()) < 10 && Math.abs(e.getX() - Player.getX()) < 10 && Math.abs(e.getZ() - Player.getZ()) < 10) { socketConnection.sendInquisData({ loc: [Math.round(Player.getX()), Math.round(Player.getY()), Math.round(Player.getZ())] }); this.inquisWaypointSpawned = true } diff --git a/features/globalSettings/index.js b/features/globalSettings/index.js index e92e513..33ee3dc 100644 --- a/features/globalSettings/index.js +++ b/features/globalSettings/index.js @@ -38,7 +38,7 @@ class GlobalSettings extends Feature { this.newApiKey = new ButtonSetting("Run /api new", "This is here so u dont need to exit and re-enter", "api_new_command", this, "Click!", this.apiNewCommand, undefined) this.findApiKey = new ButtonSetting("Attempt to load api key from other mods", "This will scan other mods configs to attempt to find your key", "find_key", this, "Click!", () => { this.findKey() }, undefined) - this.alertAllUpdates = new ToggleSetting("Send chat update avalible for all updates", "if off itll notify less", false, "alert_all_updates", this) + this.alertAllUpdates = new ToggleSetting("Send chat update avalible for all updates", "If disabled itll notify for new updates less", false, "alert_all_updates", this) this.fixNeuNetworth = new ToggleSetting("Change networth in NEU pv to soopynw", "This should make it a lot more accurate", true, "neu_nw_override", this) this.darkTheme = new ToggleSetting("Dark theme", "This might be scuffed because guis are still made in light theme", false, "dark_theme", this) |