Fix wrong parameters in Screen#renderTooltipInternal patch (#9387)

This commit is contained in:
matyrobbrt authored and GitHub committed 2023-03-15 13:05:46 -07:00
1 parent fb20e4fa90
commit 7e6c8351c3
1 file changed
+1 -1
@@ -126,7 +126,7 @@
for(int i2 = 0; i2 < p_262990_.size(); ++i2) {
ClientTooltipComponent clienttooltipcomponent2 = p_262990_.get(i2);
- clienttooltipcomponent2.m_183452_(this.f_96547_, l, k1, p_263064_, this.f_96542_);
+ clienttooltipcomponent2.m_183452_(preEvent.getFont(), k1, i1, p_263064_, this.f_96542_);
+ clienttooltipcomponent2.m_183452_(preEvent.getFont(), l, k1, p_263064_, this.f_96542_);
k1 += clienttooltipcomponent2.m_142103_() + (i2 == 0 ? 2 : 0);
}