mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-09-28 13:45:37 -04:00
Move tagHost from options to client object
Ref https://github.com/PrismarineJS/node-minecraft-protocol/issues/338 Move all the plugin-mutable options to client
This commit is contained in:
parent
d059f23f90
commit
9423a2329d
@ -12,7 +12,7 @@ module.exports = function(client, options) {
|
||||
|
||||
function next() {
|
||||
let taggedHost = options.host;
|
||||
if (options.tagHost) taggedHost += options.tagHost;
|
||||
if (client.tagHost) taggedHost += client.tagHost;
|
||||
|
||||
client.write('set_protocol', {
|
||||
protocolVersion: options.protocolVersion,
|
||||
|
Loading…
x
Reference in New Issue
Block a user