Skip to content

Commit be0441d

Browse files
committed
fix stopDigging to being passed to bot
1 parent 590deaf commit be0441d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ io.sockets.on("connection", function (socket) {
204204
});
205205
}
206206
});
207-
socket.emit("stopDigging", function () {
207+
socket.on("stopDigging", function () {
208208
bot.stopDigging();
209209
});
210210
});

0 commit comments

Comments
 (0)