Advertisement
Guest User

Untitled

a guest
Feb 10th, 2013
1,256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. Iterator it = CraftingManager.getInstance().getRecipeList().iterator();
  2. while (it.hasNext()) {
  3. IRecipe r = (IRecipe)it.next();
  4. ItemStack output = r.getRecipeOutput();
  5. if ((output != null) && (MiscTools.getRand().nextInt(8) == 0))
  6. it.remove();
  7. }
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement