From b42f475e4aa3b912143abdba66dc44b40b8af147 Mon Sep 17 00:00:00 2001 From: AlgorithmX2 Date: Fri, 11 Jul 2014 11:41:28 -0500 Subject: [PATCH] Nvm on creative release. --- recipes/RecipeHandler.java | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/recipes/RecipeHandler.java b/recipes/RecipeHandler.java index 1e21ac884..8524e90e2 100644 --- a/recipes/RecipeHandler.java +++ b/recipes/RecipeHandler.java @@ -266,21 +266,11 @@ public class RecipeHandler implements IRecipeHandler return in; } - class CreativeOnlyException extends Exception - { - - private static final long serialVersionUID = 1294198926500186893L; - - }; - @Override public void parseRecipes(IRecipeLoader loader, String path) { try { - if ( creativeOnly() ) - throw new CreativeOnlyException(); - BufferedReader reader = null; try { @@ -378,10 +368,6 @@ public class RecipeHandler implements IRecipeHandler reader.close(); processTokens( loader, path, line ); } - catch (CreativeOnlyException e) - { - AELog.warning( "Recipes are Currently Disabled" ); - } catch (Throwable e) { AELog.error( e ); @@ -390,11 +376,6 @@ public class RecipeHandler implements IRecipeHandler } } - private boolean creativeOnly() - { - return true; - } - private void processTokens(IRecipeLoader loader, String file, int line) throws RecipeError { try