Misc fixes
This commit is contained in:
@@ -1422,6 +1422,7 @@ namespace Game.Spells
|
||||
break;
|
||||
case 71465: // Divine Surge
|
||||
case 50241: // Evasive Charges
|
||||
case 81262: // Efflorescence
|
||||
_auraState = AuraStateType.RaidEncounter;
|
||||
break;
|
||||
case 6950: // Faerie Fire
|
||||
|
||||
@@ -2279,7 +2279,7 @@ namespace Game
|
||||
|
||||
public string GetDBVersion() { return m_DBVersion; }
|
||||
|
||||
public string LoadDBVersion()
|
||||
public void LoadDBVersion()
|
||||
{
|
||||
m_DBVersion = "Unknown world database.";
|
||||
|
||||
@@ -2290,8 +2290,6 @@ namespace Game
|
||||
// will be overwrite by config values if different and non-0
|
||||
WorldConfig.SetValue(WorldCfg.ClientCacheVersion, result.Read<uint>(1));
|
||||
}
|
||||
|
||||
return m_DBVersion;
|
||||
}
|
||||
|
||||
void UpdateAreaDependentAuras()
|
||||
|
||||
@@ -149,7 +149,9 @@ namespace WorldServer
|
||||
// Clean the database before starting
|
||||
ClearOnlineAccounts();
|
||||
|
||||
Log.outInfo(LogFilter.Server, "Using World DB: {0}", Global.WorldMgr.LoadDBVersion());
|
||||
Global.WorldMgr.LoadDBVersion();
|
||||
|
||||
Log.outInfo(LogFilter.Server, $"Using World DB: {Global.WorldMgr.GetDBVersion()}");
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user