fix: Forestry Still - better logging

This commit is contained in:
Tobias Wohlfarth committed 2015-10-07 21:53:13 +02:00
1 parent d07cdb9718
commit b5d326a666
1 file changed
+2 -2
@@ -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<Recipe> recipes = new LinkedList<Recipe>();
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)));
}
}