From 8a30a4a7b8a7ebbdbccb6995fd2f5c0f8011bace Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Sun, 28 Mar 2021 22:34:54 +0100 Subject: Player data loading cleanup * Kick player if data were corrupt to avoid making it worse --- src/ClientHandle.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/ClientHandle.h') diff --git a/src/ClientHandle.h b/src/ClientHandle.h index d18b66280..39433f3a1 100644 --- a/src/ClientHandle.h +++ b/src/ClientHandle.h @@ -90,12 +90,6 @@ public: // tolua_export and the results are passed to MCS running in offline mode. */ void SetProperties(const Json::Value & a_Properties) { m_Properties = a_Properties; } - /** Generates an UUID based on the username stored for this client, and stores it in the m_UUID member. - This is used for the offline (non-auth) mode, when there's no UUID source. - Each username generates a unique and constant UUID, so that when the player reconnects with the same name, their UUID is the same. - Internally calls the GenerateOfflineUUID static function. */ - void GenerateOfflineUUID(void); - /** Generates an UUID based on the player name provided. This is used for the offline (non-auth) mode, when there's no UUID source. Each username generates a unique and constant UUID, so that when the player reconnects with the same name, their UUID is the same. */ -- cgit v1.2.3