[Commands] npc_edit faction and #setfaction duplicate and incorrect. (#3577)

* [Commands] npc_edit faction and #setfaction duplicate and incorrect.

* Fix assignment
This commit is contained in:
Paul Coene
2023-09-02 21:21:48 -04:00
committed by GitHub
parent ca933fce45
commit a64425ebe6
3 changed files with 26 additions and 73 deletions
-2
View File
@@ -13,7 +13,6 @@
#include "set/endurance.cpp"
#include "set/endurance_full.cpp"
#include "set/exp.cpp"
#include "set/faction.cpp"
#include "set/flymode.cpp"
#include "set/frozen.cpp"
#include "set/gender.cpp"
@@ -80,7 +79,6 @@ void command_set(Client *c, const Seperator *sep)
Cmd{.cmd = "endurance", .u = "endurance [Amount]", .fn = SetEndurance, .a = {"#setendurance"}},
Cmd{.cmd = "endurance_full", .u = "endurance_full", .fn = SetEnduranceFull, .a = {"#endurance"}},
Cmd{.cmd = "exp", .u = "exp [aa|exp] [Amount]", .fn = SetEXP, .a = {"#setxp"}},
Cmd{.cmd = "faction", .u = "faction [Faction ID]", .fn = SetFaction, .a = {"#setfaction"}},
Cmd{.cmd = "flymode", .u = "flymode [Flymode ID]", .fn = SetFlymode, .a = {"#flymode"}},
Cmd{.cmd = "frozen", .u = "frozen [on|off]", .fn = SetFrozen, .a = {"#freeze", "#unfreeze"}},
Cmd{.cmd = "gender", .u = "gender [Gender ID]", .fn = SetGender, .a = {"#gender"}},