SHARE
TWEET

Untitled

a guest Feb 10th, 2013 1,118 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top