mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-24 20:34:59 +00:00
base patch
This commit is contained in:
@@ -24,6 +24,12 @@ bool AuthSession::MakeOffline(QString offline_playername)
|
||||
return false;
|
||||
}
|
||||
session = "-";
|
||||
// Filling session with dummy data
|
||||
client_token = "ff64ff64ff64ff64ff64ff64ff64ff64";
|
||||
access_token = "ff64ff64ff64ff64ff64ff64ff64ff64";
|
||||
// TODO: Fetch actual UUID's from Mojang API so they match with real ones
|
||||
uuid = QString(QCryptographicHash::hash(offline_playername.toLocal8Bit(), QCryptographicHash::Md5).toHex());
|
||||
|
||||
player_name = offline_playername;
|
||||
status = PlayableOffline;
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user