Skip to content

Commit

Permalink
Merge branch '2004Scape:main' into blackknight
Browse files Browse the repository at this point in the history
  • Loading branch information
KeepBotting authored Jan 7, 2025
2 parents 935f7a3 + 8bf6034 commit 93123fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions data/src/scripts/_unpack/all.varp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ protect=no
[frozen]

[attackstyle]
scope=perm
transmit=yes

[com_stabattack]
Expand Down
4 changes: 2 additions & 2 deletions src/network/rs225/client/handler/ClientCheatHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ export default class ClientCheatHandler extends MessageHandler<ClientCheat> {
}

// ::setvar <name> <value>
const varp = VarPlayerType.getByName(args[1]);
const varp = VarPlayerType.getByName(args[0]);
if (!varp) {
return false;
}
Expand Down Expand Up @@ -262,7 +262,7 @@ export default class ClientCheatHandler extends MessageHandler<ClientCheat> {
}

// ::getvar <varp>
const varp = VarPlayerType.getByName(args[1]);
const varp = VarPlayerType.getByName(args[0]);
if (!varp) {
return false;
}
Expand Down

0 comments on commit 93123fc

Please sign in to comment.