From b5d326a6666abdc39adf059483fbd0b39b8446c5 Mon Sep 17 00:00:00 2001 From: Tobias Wohlfarth Date: Wed, 7 Oct 2015 15:14:45 +0200 Subject: [PATCH] fix: Forestry Still - better logging --- src/main/java/modtweaker2/mods/forestry/handlers/Still.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/modtweaker2/mods/forestry/handlers/Still.java b/src/main/java/modtweaker2/mods/forestry/handlers/Still.java index da4e7d1..0e0e63f 100644 --- a/src/main/java/modtweaker2/mods/forestry/handlers/Still.java +++ b/src/main/java/modtweaker2/mods/forestry/handlers/Still.java @@ -88,7 +88,7 @@ public class Still { * @optionalParam liquid = liquid input */ @ZenMethod - public static void removeRecipe(IIngredient output, @Optional IIngredient input) { + public static void removeRecipe(IIngredient output, @Optional ILiquidStack input) { List recipes = new LinkedList(); for (Recipe r : RecipeManager.recipes) { @@ -106,7 +106,7 @@ public class Still { if(!recipes.isEmpty()) { MineTweakerAPI.apply(new Remove(recipes)); } else { - LogHelper.logWarning(String.format("No %s Recipe found for %s. Command ignored!", Still.name, output.toString())); + LogHelper.logWarning(String.format("No %s Recipe found for %s. Command ignored!", Still.name, LogHelper.getStackDescription(output))); } }