Improve offline interactions

- Add prompt for Minecraft version
- Improve offline-mode command prompt
- Fix default value on parse error in protocol handler
- Fix failed to connect not showing offline prompt
This commit is contained in:
ORelio 2015-03-25 22:50:20 +01:00
parent 7757d5ae03
commit 05a141c50d
4 changed files with 78 additions and 30 deletions

View file

@ -149,7 +149,10 @@ namespace MinecraftClient
ChatBot.LogToConsole("Waiting 5 seconds (" + AttemptsLeft + " attempts left)...");
Thread.Sleep(5000); AttemptsLeft--; Program.Restart();
}
else if (!singlecommand) { Console.ReadLine(); }
else if (!singlecommand && Settings.interactiveMode)
{
Program.OfflineCommandPrompt();
}
}
}