Skip to content

Commit

Permalink
Fix minor typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mertushka committed Jul 24, 2021
1 parent fcc4adc commit 88b41eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ room.once("ready", (link) => {
console.log(`Room created ${link}`);
});

room.on("onPlayerChat", (message) => {
room.on("onPlayerChat", (player, message) => {
if (message === "ping") {
room.send("pong");
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "haxball.js",
"version": "1.0.2",
"version": "1.0.3",
"description": "A powerful library for interacting with the Haxball Headless API",
"main": "src/index.js",
"scripts": {
Expand Down

0 comments on commit 88b41eb

Please sign in to comment.