From 1074f35a9e1c97895c3d214fe2b403af7112284b Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Sun, 19 Jun 2022 11:12:06 +0800 Subject: + make inquis text red --- features/globalSettings/index.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'features/globalSettings') 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() { -- cgit