Skip to content

Commit

Permalink
rawPacket should be PascalCase like all other packet events
Browse files Browse the repository at this point in the history
  • Loading branch information
DryByte committed Oct 20, 2024
1 parent 23e1b31 commit 27ef2c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/BaseClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class BaseClient extends EventEmitter {

this.peer.on("message", (packet) => {
this.readPacket(packet.data());
this.emit("rawPacket", packet.data());
this.emit("RawPacket", packet.data());
});
}

Expand Down

0 comments on commit 27ef2c1

Please sign in to comment.