From 61047c834a1e55b4e802449047dce5654e716824 Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Thu, 9 Apr 2020 20:05:26 +0200 Subject: [PATCH] Revert "Let's see if this fixes eluna :)" This reverts commit be675bf83fc6a02f3347ea76408152d623d374bf. --- 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 cbaa1cc730..c09badb845 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, &HandleNpcSetSpawnDistCommand, "" }, + { "wanderdistance", SEC_ADMINISTRATOR, false, &HandleNpcSetWanderDistanceCommand, "" }, { "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 HandleNpcSetSpawnDistCommand(ChatHandler* handler, const char* args) + static bool HandleNpcSetWanderDistanceCommand(ChatHandler* handler, const char* args) { if (!*args) return false;