diff options
Diffstat (limited to 'features/events')
-rw-r--r-- | features/events/index.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/features/events/index.js b/features/events/index.js index 7ede6b0..5e20036 100644 --- a/features/events/index.js +++ b/features/events/index.js @@ -62,6 +62,7 @@ class Events extends Feature { this.otherInquisWaypoints = new ToggleSetting("Show other users inquis locations", "If disabled others wont be able to see urs", true, "inquis_location_other", this).requires(this.loadFromParticles) this.otherInquisPing = new ToggleSetting("Show cool title when someone's inquis spawned", "May be usefull for loot share", true, "inquis_ping_other", this).requires(this.loadFromParticles) this.limitPMemb = new ToggleSetting("Only send inquis ping to party members", "If not in a party it works as default", true, "inquis_ping_party", this).requires(this.otherInquisPing) + this.limitPMembRecieve = new ToggleSetting("Only RECIEVE inquis ping from party members", "To prevent trolling for streamers", false, "recieve_inquis_ping_party", this).requires(this.otherInquisPing) this.shinyBlocks = [] this.MythMobsHPGuiElement = new ToggleSetting("Render Mythological Mobs hp on your screen", "This will help you to know their HP.", true, "myth_mobs_hp", this).contributor("EmeraldMerchant"); @@ -175,6 +176,10 @@ class Events extends Feature { delete this.slayerLocationDataH[user] return } + + if (this.limitPMembRecieve.getValue()) { + if (!this.FeatureManager.features["dataLoader"].class.partyMembers.has(user)) return + } this.slayerLocationDataH[user] = [loc, Date.now()] if (this.otherInquisPing.getValue()) { Client.showTitle("&r&6&l[&b&l&kO&6&l] MINOS INQUISITOR [&b&l&kO&6&l]", `${user}'s Inquisitor`, 0, 50, 10); |