From be675bf83fc6a02f3347ea76408152d623d374bf Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Thu, 9 Apr 2020 11:59:28 +0200 Subject: [PATCH] Let's see if this fixes eluna :) --- src/server/scripts/Commands/cs_npc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/scripts/Commands/cs_npc.cpp b/src/server/scripts/Commands/cs_npc.cpp index c09badb845..cbaa1cc730 100644 --- a/src/server/scripts/Commands/cs_npc.cpp +++ b/src/server/scripts/Commands/cs_npc.cpp @@ -149,7 +149,7 @@ public: { "model", SEC_ADMINISTRATOR, false, &HandleNpcSetModelCommand, "" }, { "movetype", SEC_ADMINISTRATOR, false, &HandleNpcSetMoveTypeCommand, "" }, { "phase", SEC_ADMINISTRATOR, false, &HandleNpcSetPhaseCommand, "" }, - { "wanderdistance", SEC_ADMINISTRATOR, false, &HandleNpcSetWanderDistanceCommand, "" }, + { "wanderdistance", SEC_ADMINISTRATOR, false, &HandleNpcSetSpawnDistCommand, "" }, { "spawntime", SEC_ADMINISTRATOR, false, &HandleNpcSetSpawnTimeCommand, "" }, { "data", SEC_ADMINISTRATOR, false, &HandleNpcSetDataCommand, "" }, //{ TODO: fix or remove these commands @@ -1107,7 +1107,7 @@ public: } //set spawn dist of creature - static bool HandleNpcSetWanderDistanceCommand(ChatHandler* handler, const char* args) + static bool HandleNpcSetSpawnDistCommand(ChatHandler* handler, const char* args) { if (!*args) return false;