mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
InitBags
This commit is contained in:
parent
5e676e60e0
commit
93b32ce398
@ -1424,7 +1424,7 @@ void PlayerbotFactory::InitBags()
|
|||||||
{
|
{
|
||||||
for (uint8 slot = INVENTORY_SLOT_BAG_START; slot < INVENTORY_SLOT_BAG_END; ++slot)
|
for (uint8 slot = INVENTORY_SLOT_BAG_START; slot < INVENTORY_SLOT_BAG_END; ++slot)
|
||||||
{
|
{
|
||||||
uint32 newItemId = 23162;
|
uint32 newItemId = 51809;
|
||||||
Item *old_bag = bot->GetItemByPos(INVENTORY_SLOT_BAG_0, slot);
|
Item *old_bag = bot->GetItemByPos(INVENTORY_SLOT_BAG_0, slot);
|
||||||
if (old_bag && old_bag->GetTemplate()->ItemId == newItemId) {
|
if (old_bag && old_bag->GetTemplate()->ItemId == newItemId) {
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user