public static void registerList() {
   ConfigCategory c = PfF.Core.config.getCategory(cat2);
   for (Property p : c.getValues().values()) {
     String a = p.value;
     String parse[] = a.split(",");
     int plantid = Integer.valueOf(parse[0]);
     int plantamount = Integer.valueOf(parse[1]);
     int plantmeta = Integer.valueOf(parse[2]);
     // -
     int seedid = Integer.valueOf(parse[3]);
     int seedmeta = Integer.valueOf(parse[4]);
     // -
     ItemStack plant = new ItemStack(plantid, plantamount, plantmeta);
     ItemStack seed = new ItemStack(seedid, 1, seedmeta);
     PfFManagers.OmniPlant.registerPlantWithSeed(plant, seed);
   }
 }
 public static void registerList() {
   ConfigCategory c = PfF.Core.config.getCategory(cat);
   if (c == null) {
     // Fix for being unable to disable stuff.
     addToWhiteList(Item.book);
     addToWhiteList(Item.fishRaw);
     addToWhiteList(Item.silk);
     PfF.Core.config.save();
     c = PfF.Core.config.getCategory(cat);
   }
   PfF.Core.config.save();
   for (Property p : c.getValues().values()) {
     String a = p.value;
     String[] parse = a.split(",");
     int id = Integer.valueOf(parse[0]);
     int amt = Integer.valueOf(parse[1]);
     int meta = Integer.valueOf(parse[2]);
     ItemStack product = new ItemStack(id, amt, meta);
     PfFManagers.OmniPlant.registerPlant(product);
   }
 }