mirror of
https://github.com/kadeshar/mod-player-bot-level-brackets.git
synced 2026-01-13 01:08:36 +00:00
Urand fix
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
#include "Player.h"
|
#include "Player.h"
|
||||||
#include "ObjectMgr.h"
|
#include "ObjectMgr.h"
|
||||||
#include "Chat.h"
|
#include "Chat.h"
|
||||||
|
#include "CommandScript.h"
|
||||||
#include "Log.h"
|
#include "Log.h"
|
||||||
#include "PlayerbotAI.h"
|
#include "PlayerbotAI.h"
|
||||||
#include "PlayerbotMgr.h"
|
#include "PlayerbotMgr.h"
|
||||||
@@ -1829,13 +1830,13 @@ class BotLevelBracketsCommandScript : public CommandScript
|
|||||||
public:
|
public:
|
||||||
BotLevelBracketsCommandScript() : CommandScript("BotLevelBracketsCommandScript") {}
|
BotLevelBracketsCommandScript() : CommandScript("BotLevelBracketsCommandScript") {}
|
||||||
|
|
||||||
Acore::ChatCommands::ChatCommandTable GetCommands() const override
|
ChatCommandTable GetCommands() const override
|
||||||
{
|
{
|
||||||
static Acore::ChatCommands::ChatCommandTable commandTable =
|
static ChatCommandTable commandTable =
|
||||||
{
|
{
|
||||||
{ "reload", SEC_ADMINISTRATOR, false, &HandleReloadConfig, "" }
|
{ "reload", SEC_ADMINISTRATOR, false, &HandleReloadConfig, "" }
|
||||||
};
|
};
|
||||||
static Acore::ChatCommands::ChatCommandTable commandTableMain =
|
static ChatCommandTable commandTableMain =
|
||||||
{
|
{
|
||||||
{ "botlevelbrackets", SEC_ADMINISTRATOR, true, nullptr, "", commandTable }
|
{ "botlevelbrackets", SEC_ADMINISTRATOR, true, nullptr, "", commandTable }
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user