Changeset 238 for binary-improvements/7dtd-server-fixes/src/ItemList.cs
- Timestamp:
- Jul 3, 2015, 4:16:11 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/7dtd-server-fixes/src/ItemList.cs
r224 r238 45 45 { 46 46 NGuiInvGridCreativeMenu cm = new NGuiInvGridCreativeMenu (); 47 foreach (I nventoryFieldinvF in cm.GetAllItems()) {48 Item Base ib = ItemBase.list [invF.itemValue.type];47 foreach (ItemStack invF in cm.GetAllItems()) { 48 ItemClass ib = ItemClass.list [invF.itemValue.type]; 49 49 string name = ib.GetItemName (); 50 50 if (name != null && name.Length > 0) { … … 56 56 } 57 57 } 58 foreach (I nventoryFieldinvF in cm.GetAllBlocks()) {59 Item Base ib = ItemBase.list [invF.itemValue.type];58 foreach (ItemStack invF in cm.GetAllBlocks()) { 59 ItemClass ib = ItemClass.list [invF.itemValue.type]; 60 60 string name = ib.GetItemName (); 61 61 if (name != null && name.Length > 0) {
Note:
See TracChangeset
for help on using the changeset viewer.