aboutsummaryrefslogtreecommitdiff
path: root/features/globalSettings
diff options
context:
space:
mode:
Diffstat (limited to 'features/globalSettings')
-rw-r--r--features/globalSettings/index.js8
1 files changed, 8 insertions, 0 deletions
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() {