Refactoring of BNetServer

This commit is contained in:
hondacrx
2020-07-12 00:06:43 -04:00
parent 4164384b72
commit 581d077acd
318 changed files with 2046 additions and 4694 deletions
+3 -3
View File
@@ -23,7 +23,7 @@ using Game.DataStorage;
using Game.Groups;
using Game.Loots;
using Game.Maps;
using Game.Network.Packets;
using Game.Networking.Packets;
using Game.Spells;
using System;
using System.Collections.Generic;
@@ -2561,9 +2561,9 @@ namespace Game.Entities
return vCount.count;
}
public override string GetName(LocaleConstant locale = LocaleConstant.enUS)
public override string GetName(Locale locale = Locale.enUS)
{
if (locale != LocaleConstant.enUS)
if (locale != Locale.enUS)
{
CreatureLocale cl = Global.ObjectMgr.GetCreatureLocale(GetEntry());
if (cl != null)