diff --git a/cmd/bedrocktool/main.go b/cmd/bedrocktool/main.go index 1a363bd..060a51f 100644 --- a/cmd/bedrocktool/main.go +++ b/cmd/bedrocktool/main.go @@ -8,6 +8,7 @@ import ( "os" "os/signal" "runtime/debug" + "strings" "syscall" "github.com/bedrock-tool/bedrocktool/utils" @@ -54,7 +55,7 @@ func main() { logrus.Error(err) } - if newVersion != "" { + if newVersion != "" && utils.Version != "" { logrus.Infof("Update Available: %s", newVersion) } @@ -86,7 +87,8 @@ func main() { if cancelled { return } - os.Args = append(os.Args, cmd) + _cmd := strings.Split(cmd, " ") + os.Args = append(os.Args, _cmd...) utils.G_interactive = true } } diff --git a/utils/proxy.go b/utils/proxy.go index 3fccc29..4d8f44a 100644 --- a/utils/proxy.go +++ b/utils/proxy.go @@ -192,6 +192,7 @@ func (p *ProxyContext) Run(ctx context.Context, server_address string) (err erro defer p.Listener.Close() p.log.Infof("Listening on %s", p.Listener.Addr()) + p.log.Infof("Open Minecraft and connect to this computers local ip address to continue") var c net.Conn c, err = p.Listener.Accept()