In run_client() print -Xmx as well.

This commit is contained in:
Alexander Andreev 2024-12-17 19:39:11 +04:00
parent 8662153706
commit 97bf9cf32f
Signed by: Arav
GPG Key ID: 25969B23DCB5CA34

View File

@ -155,8 +155,8 @@ func (rc *RunCommand) run_client() error {
} }
}() }()
fmt.Printf("Minecraft version %s is started with username %s and player's UUID %s.\n", fmt.Printf("Minecraft version %s is started with %s, username %s and player's UUID %s.\n",
manifst.Id, rc.Username, rc.AuthUuid) manifst.Id, rc.JavaXmx, rc.Username, rc.AuthUuid)
if err := cmd.Run(); err != nil && (err.Error() != "exec: already started") { if err := cmd.Run(); err != nil && (err.Error() != "exec: already started") {
return err return err