From 13778072c02f0c2bddcca71810e4422363de5baa Mon Sep 17 00:00:00 2001 From: bdew Date: Thu, 12 Mar 2015 17:03:39 +0200 Subject: [PATCH] derp --- src/net/bdew/lib/recipes/RecipeLoader.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/bdew/lib/recipes/RecipeLoader.scala b/src/net/bdew/lib/recipes/RecipeLoader.scala index e415219..dc46907 100644 --- a/src/net/bdew/lib/recipes/RecipeLoader.scala +++ b/src/net/bdew/lib/recipes/RecipeLoader.scala @@ -180,7 +180,7 @@ class RecipeLoader { case StackBlock(mod, id, meta) => val block = notNull(GameRegistry.findBlock(mod, id), "Block not found %s:%s".format(mod, id)) if (Item.getItemFromBlock(block) == null) - throw new StatementError("The block '%s:%s' does not have a valid matching item registered and thus can't be used in recipes".format(mod, id)) + error("The block '%s:%s' does not have a valid matching item registered and thus can't be used in recipes", mod, id) new ItemStack(block, cnt, meta) case StackItem(mod, id, meta) => new ItemStack(notNull(GameRegistry.findItem(mod, id), "Item not found %s:%s".format(mod, id)), cnt, meta)