- Timestamp:
- Apr 20, 2015, 7:21:24 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/7dtd-server-fixes/src/PersistentData/Inventory.cs
r224 r232 33 33 int count = sourceFields [i].count; 34 34 int maxAllowed = ItemBase.list [sourceFields [i].itemValue.type].Stacknumber.Value; 35 string name = getInvFieldName (sourceFields [i]);35 string name = ItemBase.list [sourceFields [i].itemValue.type].GetItemName (); 36 36 37 37 if (count > maxAllowed) … … 45 45 } 46 46 47 private string getInvFieldName (InventoryField item)48 {49 ItemBase iBase = ItemBase.list [item.itemValue.type];50 return iBase.GetItemName ();51 }52 53 47 54 48 }
Note:
See TracChangeset
for help on using the changeset viewer.