mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-23 13:15:53 +12:00
Fix bugz
This commit is contained in:
parent
7216ade563
commit
5e460923dc
8 changed files with 132 additions and 99 deletions
|
@ -65,6 +65,9 @@ namespace HISP.Game.Inventory
|
|||
|
||||
public void AddInfinity(Item.ItemInformation itemInfo)
|
||||
{
|
||||
if (HasItemId(itemInfo.Id))
|
||||
return;
|
||||
|
||||
InventoryItem inventoryItem = new InventoryItem();
|
||||
inventoryItem.ItemId = itemInfo.Id;
|
||||
inventoryItem.Infinite = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue