fix: added max width to workbench tooltips
@@ -158,7 +158,7 @@ public class WorkbenchScreen extends ContainerScreen<WorkbenchContainer> {
.map(StringTextComponent::new)
.collect(Collectors.toList());
- GuiUtils.drawHoveringText(matrixStack, textComponents, mouseX, mouseY, width, height, -1, minecraft.fontRenderer);
+ GuiUtils.drawHoveringText(matrixStack, textComponents, mouseX, mouseY, width, height, 300, minecraft.fontRenderer);
}
updateMaterialHoverPreview();
