mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2024-11-24 00:07:51 -05:00
Make "fakeHost" option working (#1040)
This commit is contained in:
parent
4ca8523b88
commit
85264bcb95
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ module.exports = function (client, options) {
|
|||
function next () {
|
||||
let taggedHost = options.host
|
||||
if (client.tagHost) taggedHost += client.tagHost
|
||||
if (client.fakeHost) taggedHost = options.fakeHost
|
||||
if (options.fakeHost) taggedHost = options.fakeHost
|
||||
|
||||
client.write('set_protocol', {
|
||||
protocolVersion: options.protocolVersion,
|
||||
|
|
Loading…
Reference in a new issue