Skip to content

Commit

Permalink
support negative query challange tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
KurtThiemann committed Nov 7, 2024
1 parent 0dbb895 commit 0e3fa06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "craftping",
"type": "module",
"version": "1.1.1",
"version": "1.1.2",
"main": "index.js",
"repository": "github:aternosorg/craftping",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/Packet/Query/FullStatRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default class FullStatRequest extends BasicStatRequest {
*/
writePayload() {
let buffer = Buffer.alloc(8);
buffer.writeUint32BE(this.challengeToken, 0);
buffer.writeInt32BE(this.challengeToken, 0);
buffer.writeUint32BE(0, 4);
return buffer;
}
Expand Down

0 comments on commit 0e3fa06

Please sign in to comment.