make proxy connect with port too

thats why i can't connect to my clone but the bot can lol
This commit is contained in:
ChomeNS 2023-01-16 18:42:45 +07:00
parent 8d719643a0
commit 8c17e0c8c9

View file

@ -32,6 +32,7 @@ function inject (bot, dcclient, config) {
const target = mc.createClient({ const target = mc.createClient({
username: client.username, username: client.username,
host: bot.options.host, host: bot.options.host,
port: bot.options.port,
version version
}) })