From a29d1ad0cae8f8ccb375b5b8af7d4b86e6d8eb39 Mon Sep 17 00:00:00 2001 From: Unknown Date: Tue, 6 Aug 2019 18:46:44 +0800 Subject: 6x faster craftable combinding filter --- src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java') diff --git a/src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java b/src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java index 07a9c96d4..a9707f9f6 100644 --- a/src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java +++ b/src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java @@ -107,7 +107,7 @@ public class VillagerRecipeViewingScreen extends Screen { int index = 0; List list = Collections.singletonList(Formatting.YELLOW.toString() + I18n.translate("text.rei.working_station")); for (List workingStation : workingStations) { - widgets.add(new SlotWidget(xx, yy, workingStation, true, true, true) { + widgets.add(new SlotWidget(xx, yy, Renderer.fromItemStacks(workingStation), true, true, true) { @Override protected List getExtraToolTips(ItemStack stack) { return list; -- cgit