From 977cf1e837a7467ed0a0428c0ba6a074b280ba5c Mon Sep 17 00:00:00 2001 From: Elijah R Date: Sun, 23 Jun 2024 22:26:19 -0400 Subject: [PATCH] thats the wrong number --- src/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.ts b/src/client.ts index 9280ea0..7ea3200 100644 --- a/src/client.ts +++ b/src/client.ts @@ -171,7 +171,7 @@ export default abstract class CollabVMClient { // Handle renames if (message[0] === "rename") { let oldname; - if (message[1] == "1") { + if (message[1] == "0") { oldname = this._username; this._username = message[3]; } else oldname = message[2];