Skip to content

Commit 8ea8b4e

Browse files
committed
fix: Allow debugproc character (~) input for cheats
1 parent 42ae3fa commit 8ea8b4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/jagex2/client/Client.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4362,7 +4362,7 @@ public void handleInputKey() {
43624362
this.redrawChatback = true;
43634363
}
43644364
} else if (this.chatInterfaceId == -1) {
4365-
if (var2 >= 32 && var2 <= 122 && this.chatTyped.length() < 80) {
4365+
if (var2 >= 32 && (var2 <= 122 || (this.chatTyped.startsWith("::") && var2 <= 126)) && this.chatTyped.length() < 80) {
43664366
this.chatTyped = this.chatTyped + (char) var2;
43674367
this.redrawChatback = true;
43684368
}

0 commit comments

Comments
 (0)