Skip to content
This repository was archived by the owner on Nov 15, 2022. It is now read-only.

Commit 85264bc

Browse files
authored
Make "fakeHost" option working (PrismarineJS#1040)
1 parent 4ca8523 commit 85264bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/setProtocol.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module.exports = function (client, options) {
1515
function next () {
1616
let taggedHost = options.host
1717
if (client.tagHost) taggedHost += client.tagHost
18-
if (client.fakeHost) taggedHost = options.fakeHost
18+
if (options.fakeHost) taggedHost = options.fakeHost
1919

2020
client.write('set_protocol', {
2121
protocolVersion: options.protocolVersion,

0 commit comments

Comments
 (0)