Core/Commands: Added missing hyperlink system.
Port From (https://github.com/TrinityCore/TrinityCore/commit/1f60e76b7f157af6a24fa3c962b59f3391b21e75) Port From (https://github.com/TrinityCore/TrinityCore/commit/f647ff68659ed6d8d414d20520507dd451c2cb8d)
This commit is contained in:
@@ -16,7 +16,7 @@ namespace Game.Chat.Commands
|
||||
class WPCommands
|
||||
{
|
||||
[Command("add", RBACPermissions.CommandWpAdd)]
|
||||
static bool HandleWpAddCommand(CommandHandler handler, uint? pathId)
|
||||
static bool HandleWpAddCommand(CommandHandler handler, OptionalArg<uint> pathId)
|
||||
{
|
||||
Creature target = handler.GetSelectedCreature();
|
||||
|
||||
@@ -91,7 +91,7 @@ namespace Game.Chat.Commands
|
||||
}
|
||||
|
||||
[Command("load", RBACPermissions.CommandWpLoad)]
|
||||
static bool HandleWpLoadCommand(CommandHandler handler, uint? pathId)
|
||||
static bool HandleWpLoadCommand(CommandHandler handler, OptionalArg<uint> pathId)
|
||||
{
|
||||
Creature target = handler.GetSelectedCreature();
|
||||
if (target == null)
|
||||
@@ -224,7 +224,7 @@ namespace Game.Chat.Commands
|
||||
}
|
||||
|
||||
[Command("show", RBACPermissions.CommandWpShow)]
|
||||
static bool HandleWpShowCommand(CommandHandler handler, string subCommand, uint? pathId)
|
||||
static bool HandleWpShowCommand(CommandHandler handler, string subCommand, OptionalArg<uint> pathId)
|
||||
{
|
||||
// first arg: on, off, first, last
|
||||
if (subCommand.IsEmpty())
|
||||
|
||||
Reference in New Issue
Block a user