fixed unpack menu option on item sets being available with right click

This commit is contained in:
Image 2020-07-19 19:27:34 -04:00
parent 770bc64ffb
commit 5c29cb2349

View file

@ -3150,7 +3150,7 @@ void PlayerItemList::AddItemToPacket(PacketStruct* packet, Player* player, Item*
} }
if (item->generic_info.item_type == 18){ if (item->generic_info.item_type == 18){
menu_data += ITEM_MENU_TYPE_UNPACK; menu_data += ITEM_MENU_TYPE_UNPACK;
packet->setSubstructArrayDataByName("flag_names", "unknown3", ITEM_MENU_TYPE2_UNPACK, 0, i); packet->setSubstructArrayDataByName("items", "unknown3", ITEM_MENU_TYPE2_UNPACK, 0, i);
} }
if(item->generic_info.condition == 0) if(item->generic_info.condition == 0)