aboutsummaryrefslogtreecommitdiff
path: root/socketConnection.js
diff options
context:
space:
mode:
Diffstat (limited to 'socketConnection.js')
-rw-r--r--socketConnection.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/socketConnection.js b/socketConnection.js
index 6479dee..70609ec 100644
--- a/socketConnection.js
+++ b/socketConnection.js
@@ -170,14 +170,14 @@ class SoopyV2Server extends WebsiteCommunicator {
this.sendData({
type: "slayerSpawnData",
data: data,
- name: Player.getDisplayName().text
+ name: ChatLib.removeFormatting(Player.getDisplayName().text)
})
}
sendInquisData(data) {
this.sendData({
type: "inquisData",
data: data,
- name: Player.getDisplayName().text
+ name: ChatLib.removeFormatting(Player.getDisplayName().text)
})
}
@@ -185,7 +185,7 @@ class SoopyV2Server extends WebsiteCommunicator {
this.sendData({
type: "vancData",
data: data,
- name: Player.getDisplayName().text
+ name: ChatLib.removeFormatting(Player.getDisplayName().text)
})
}