mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 10:00:28 +00:00
Updated code for New config.
*enable/disable Minigob Manabonk *Put the config option in the wrong part, changed from int to bool.
This commit is contained in:
@@ -560,7 +560,7 @@ class npc_minigob_manabonk : public CreatureScript
|
||||
void UpdateAI(uint32 diff)
|
||||
{
|
||||
|
||||
if (CONFIG_MINIGOB_MANABONK == false)
|
||||
if (!sWorld->getBoolConfig(CONFIG_MINIGOB_MANABONK))
|
||||
return;
|
||||
|
||||
events.Update(diff);
|
||||
|
||||
@@ -275,7 +275,7 @@ class npc_wg_queue : public CreatureScript
|
||||
|
||||
bool OnGossipHello(Player* player, Creature* creature)
|
||||
{
|
||||
if (CONFIG_WINTERGRASP_ENABLE == false)
|
||||
if (!sWorld->getBoolConfig(CONFIG_MINIGOB_MANABONK))
|
||||
return false;
|
||||
|
||||
if (creature->IsQuestGiver())
|
||||
|
||||
Reference in New Issue
Block a user