[Commands] Add #npcedit set_grid [Grid ID] to #npcedit (#4004)

* [Commands] Add #npcedit grid_id to #npcedit

# Notes
- Adds `#npcedit grid_id [Grid ID]` to `#npcedit`.

* set_grid
This commit is contained in:
Alex King
2024-01-22 17:49:18 -05:00
committed by GitHub
parent f6148b9b8d
commit 26769f40d9
2 changed files with 27 additions and 1 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ void command_petitems(Client *c, const Seperator *sep)
c->Message(Chat::White, "You must have a pet to use this command.");
return;
}
auto pet = c->GetPet()->CastToNPC();
auto loot_list = pet->GetLootList();
if (!loot_list.empty()) {