Merge branch 'master' into farmbot

This commit is contained in:
Anon 2022-10-14 16:00:46 +00:00 committed by GitHub
commit e44973e900
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 2519 additions and 1539 deletions

View file

@ -44,11 +44,11 @@ namespace MinecraftClient.Commands
sb.AppendLine(Translations.Get("cmd.chunk.chunk_pos", markChunkX, markChunkZ));;
}
int consoleHeight = Math.Max(Console.BufferHeight - 2, 25);
int consoleHeight = Math.Max(Math.Max(Console.BufferHeight, Settings.Config.Main.Advanced.MinTerminalHeight) - 2, 25);
if (consoleHeight % 2 == 0)
--consoleHeight;
int consoleWidth = Math.Max(Console.BufferWidth / 2, 17);
int consoleWidth = Math.Max(Math.Max(Console.BufferWidth, Settings.Config.Main.Advanced.MinTerminalWidth) / 2, 17);
if (consoleWidth % 2 == 0)
--consoleWidth;