Fixed the lexicon gui showing the recipe for an item that's not the one being hovered above if the two happen to intersect. (see Terrasteel page)

This commit is contained in:
Lizbeth Rika committed 2014-11-08 20:00:08 +00:00
1 parent a69d5f093e
commit a0e3114874
1 file changed
+1 -1
@@ -162,7 +162,7 @@ public class PageRecipe extends LexiconPage {
newGui.page = data.page;
Minecraft.getMinecraft().displayGuiScreen(newGui);
}
}
} else tooltipEntry = false;
if(accountForContainer) {
ItemStack containerStack = stack.getItem().getContainerItem(stack);