Core/Cheats: Power - set max power on all powers initially + on regenerate
Port From (https://github.com/TrinityCore/TrinityCore/commit/079bc7800eeb1f5ae8201e59f91d92e980680bcb)
This commit is contained in:
@@ -389,7 +389,7 @@ namespace Game.Chat
|
||||
playerGuid = ObjectGuid.Empty;
|
||||
playerName = "";
|
||||
|
||||
if (!args.Empty())
|
||||
if (args != null && !args.Empty())
|
||||
{
|
||||
string name = ExtractPlayerNameFromLink(args);
|
||||
if (string.IsNullOrEmpty(name))
|
||||
|
||||
Reference in New Issue
Block a user