- Timestamp:
- Jul 3, 2015, 4:16:11 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/7dtd-server-fixes/src/PersistentData/Inventory.cs
r232 r238 25 25 } 26 26 27 private void ProcessInv (List<InvItem> target, I nventoryField[] sourceFields, int id)27 private void ProcessInv (List<InvItem> target, ItemStack[] sourceFields, int id) 28 28 { 29 29 lock (target) { … … 32 32 if (sourceFields [i].count > 0) { 33 33 int count = sourceFields [i].count; 34 int maxAllowed = Item Base.list [sourceFields [i].itemValue.type].Stacknumber.Value;35 string name = Item Base.list [sourceFields [i].itemValue.type].GetItemName ();34 int maxAllowed = ItemClass.list [sourceFields [i].itemValue.type].Stacknumber.Value; 35 string name = ItemClass.list [sourceFields [i].itemValue.type].GetItemName (); 36 36 37 37 if (count > maxAllowed)
Note:
See TracChangeset
for help on using the changeset viewer.