diff options
-rw-r--r-- | features/events/index.js | 4 | ||||
-rw-r--r-- | features/globalSettings/index.js | 8 |
2 files changed, 10 insertions, 2 deletions
diff --git a/features/events/index.js b/features/events/index.js index f21a068..5ba3710 100644 --- a/features/events/index.js +++ b/features/events/index.js @@ -55,7 +55,7 @@ class Events extends Feature { this.loadFromParticles = new ToggleSetting("Load burrials from particles", "Will load particles from burrows in the world", true, "burrial_from_partles", this) this.showBurrialGuess = new ToggleSetting("Estimate burrial location from ability", "Will show a line + box where it thinks the burrial is", true, "burrial_guess", this) new SettingBase("There is also a hotkey to warp near", "see minecraft controls menu", true, "warp_info_hotkey", this) - new ButtonSetting("NOTE: You must have music disabled", "for burrial guessess to work (/togglemusic)", "togglemusis_button", this, "click", () => { + new ButtonSetting("NOTE: You must have music disabled", "for burrial guessess to work (/togglemusic)", "togglemusis_button", this, "toggle", () => { ChatLib.command("togglemusic") }, false).requires(this.showBurrialGuess) @@ -174,7 +174,7 @@ class Events extends Feature { if (this.otherInquisWaypoints.getValue()) { Object.keys(this.slayerLocationDataH).forEach(key => { - drawCoolWaypoint(this.slayerLocationDataH[key][0][0], this.slayerLocationDataH[key][0][1], this.slayerLocationDataH[key][0][2], 255, 0, 0, { name: key + "'s inquis" }) + drawCoolWaypoint(this.slayerLocationDataH[key][0][0], this.slayerLocationDataH[key][0][1], this.slayerLocationDataH[key][0][2], 255, 0, 0, { name: "§c" + key + "'s inquis" }) }) } } diff --git a/features/globalSettings/index.js b/features/globalSettings/index.js index 33ee3dc..19f5263 100644 --- a/features/globalSettings/index.js +++ b/features/globalSettings/index.js @@ -128,6 +128,14 @@ class GlobalSettings extends Feature { }) this.registerEvent("guiMouseClick", this.guiClicked) + + this.partyChatEnabled = true + + this.registerChat("&r&9Party &8> ${*}", (e)=>{ + if(!this.partyChatEnabled){ + cancel(e) + } + }) } renderWebpage() { |