From 9785c8cb0e0ba4db6cf90f818c0cf649f62cdd17 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Sat, 2 Oct 2021 20:40:37 -0400 Subject: [PATCH] Core/Players: Fixed value saved in `characters`.`lastLoginBuild` Port From (https://github.com/TrinityCore/TrinityCore/commit/1440586be841fef21af03a602d8e198a4ab4193a) --- Source/Game/Entities/Player/Player.DB.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Game/Entities/Player/Player.DB.cs b/Source/Game/Entities/Player/Player.DB.cs index 3476c6adf..d459b78f0 100644 --- a/Source/Game/Entities/Player/Player.DB.cs +++ b/Source/Game/Entities/Player/Player.DB.cs @@ -3613,7 +3613,7 @@ namespace Game.Entities stmt.AddValue(index++, GetHonorLevel()); stmt.AddValue(index++, m_activePlayerData.RestInfo[(int)RestTypes.Honor].StateID); stmt.AddValue(index++, finiteAlways(_restMgr.GetRestBonus(RestTypes.Honor))); - stmt.AddValue(index++, Global.WorldMgr.GetRealm().Build); + stmt.AddValue(index++, Global.RealmMgr.GetMinorMajorBugfixVersionForBuild(Global.WorldMgr.GetRealm().Build)); // Index stmt.AddValue(index, GetGUID().GetCounter());