mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
ScriptScheduler: Add debug messages for issue #431
These messages will only apprear if debugmessages=true in config.
This commit is contained in:
parent
18fd24d2d5
commit
79aaa04775
4 changed files with 63 additions and 9 deletions
|
|
@ -260,6 +260,7 @@ namespace MinecraftClient.Protocol.SessionCache
|
|||
{
|
||||
List<string> sessionCacheLines = new List<string>();
|
||||
sessionCacheLines.Add("# Generated by MCC v" + Program.Version + " - Edit at own risk!");
|
||||
sessionCacheLines.Add("# Login=SessionID,PlayerName,UUID,ClientID");
|
||||
foreach (KeyValuePair<string, SessionToken> entry in sessions)
|
||||
sessionCacheLines.Add(entry.Key + '=' + entry.Value.ToString());
|
||||
File.WriteAllLines(SessionCacheFilePlaintext, sessionCacheLines);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue