Revert "Let's see if this fixes eluna :)"

This reverts commit be675bf83f.
This commit is contained in:
Kitzunu
2020-04-09 20:05:26 +02:00
parent be675bf83f
commit 61047c834a

View File

@@ -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;