mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-22 20:55:52 +12:00
fix bugs
This commit is contained in:
parent
37c4c679a3
commit
4e333d1387
2 changed files with 4 additions and 1 deletions
|
@ -434,7 +434,7 @@ namespace HISP.Game
|
|||
foreach(InventoryItem item in trade.Trader.Inventory.GetItemList())
|
||||
{
|
||||
Item.ItemInformation itemInfo = Item.GetItemById(item.ItemId);
|
||||
if (itemInfo.Type != "QUEST" && itemInfo.Type != "TEXT" && !(itemInfo.Id == Item.DorothyShoes || itemInfo.Id == Item.Telescope))
|
||||
if (itemInfo.Type == "QUEST" || itemInfo.Type == "TEXT" || itemInfo.Id == Item.DorothyShoes)
|
||||
continue;
|
||||
message += Messages.FormatTradeOfferItem(itemInfo.IconId, itemInfo.Name, item.ItemInstances.Count, item.ItemId);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue