Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Iterator it = CraftingManager.getInstance().getRecipeList().iterator();
- while (it.hasNext()) {
- IRecipe r = (IRecipe)it.next();
- ItemStack output = r.getRecipeOutput();
- if ((output != null) && (MiscTools.getRand().nextInt(8) == 0))
- it.remove();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement