Changeset 199 for binary-improvements/7dtd-server-fixes/src/ItemList.cs
- Timestamp:
- Sep 22, 2014, 11:15:14 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/7dtd-server-fixes/src/ItemList.cs
r197 r199 49 49 string name = ib.GetItemName (invF.itemValue); 50 50 if (name != null && name.Length > 0) { 51 if (!items.ContainsKey (name)) 51 if (!items.ContainsKey (name)) { 52 52 items.Add (name, invF.itemValue); 53 else 54 Log.Out ("Item \"" + name + "\" already in list!"); 53 } else { 54 //Log.Out ("Item \"" + name + "\" already in list!"); 55 } 55 56 } 56 57 } … … 59 60 string name = ib.GetItemName (invF.itemValue); 60 61 if (name != null && name.Length > 0) { 61 if (!items.ContainsKey (name)) 62 if (!items.ContainsKey (name)) { 62 63 items.Add (name, invF.itemValue); 63 else 64 Log.Out ("Item \"" + name + "\" already in list!"); 64 } else { 65 //Log.Out ("Item \"" + name + "\" already in list!"); 66 } 65 67 } 66 68 }
Note:
See TracChangeset
for help on using the changeset viewer.