Skip to content

Commit b5d326a

Browse files
committed
fix: Forestry Still - better logging
1 parent d07cdb9 commit b5d326a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/main/java/modtweaker2/mods/forestry/handlers

src/main/java/modtweaker2/mods/forestry/handlers/Still.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public String getRecipeInfo(Recipe recipe) {
8888
* @optionalParam liquid = liquid input
8989
*/
9090
@ZenMethod
91-
public static void removeRecipe(IIngredient output, @Optional IIngredient input) {
91+
public static void removeRecipe(IIngredient output, @Optional ILiquidStack input) {
9292
List<Recipe> recipes = new LinkedList<Recipe>();
9393

9494
for (Recipe r : RecipeManager.recipes) {
@@ -106,7 +106,7 @@ public static void removeRecipe(IIngredient output, @Optional IIngredient input)
106106
if(!recipes.isEmpty()) {
107107
MineTweakerAPI.apply(new Remove(recipes));
108108
} else {
109-
LogHelper.logWarning(String.format("No %s Recipe found for %s. Command ignored!", Still.name, output.toString()));
109+
LogHelper.logWarning(String.format("No %s Recipe found for %s. Command ignored!", Still.name, LogHelper.getStackDescription(output)));
110110
}
111111
}
112112

0 commit comments

Comments
 (0)