Skip to content

Commit 6e4145a

Browse files
authored
Update index.js
1 parent 6b7a92e commit 6e4145a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ wss.on("connection", (socket, req) => {
6060
var bot = mineflayer.createBot({
6161
host: query.get("server"),
6262
port:
63-
query.get("port") !== "null" ? query.get("port") : undefined,
63+
query.get("port") !== "null" ? query.get("port") : null,
6464
username: query.get("nick"),
6565
version: version,
6666
password:

0 commit comments

Comments
 (0)