Commits

Jeffrey Steward committed 49924fd

Replaced outputing items with one that works, but isn't needed.

Comments (0)

Files changed (1)

src/main/java/hubertnnn/hackncraft/CraftingManager.java

         }catch(Exception ex){ ex.printStackTrace();}
                 
         // Try to dump out all the ids
-        // TODO: Ids don't exist anymore
-        /*
-        try{
-            File f = hnc.config.CreateIdFile();
-            Writer w = new FileWriter(f);
-            
-            for(int id = 0; id< Item.itemsList.length; id++)
-            {
-                Item item = Item.itemsList[id];
-                if(item==null) continue;
-                w.write(id+"\t"+item.getItemName()+"\n");
-            }
-            w.close();
-        }catch(Exception ex){ ex.printStackTrace();}
-        */
+        // Not needed as we are using names
+        /*try {
+        	File f = new File(hnc.configDir,"HnC_Ids.txt");
+        	Writer w = new FileWriter(f);
+        	
+        	hnc.itemReg.write(w);
+        	
+        	w.close();
+        }
+        catch (Exception ex) {
+        	ex.printStackTrace();
+        }*/
     }
     
     public boolean ProcessChange(String change)