diff options
Diffstat (limited to 'fabric/src')
| -rw-r--r-- | fabric/src/main/java/me/shedaniel/rei/impl/client/gui/fabric/ScreenOverlayImplImpl.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fabric/src/main/java/me/shedaniel/rei/impl/client/gui/fabric/ScreenOverlayImplImpl.java b/fabric/src/main/java/me/shedaniel/rei/impl/client/gui/fabric/ScreenOverlayImplImpl.java index 5a2841f58..a9b808e0e 100644 --- a/fabric/src/main/java/me/shedaniel/rei/impl/client/gui/fabric/ScreenOverlayImplImpl.java +++ b/fabric/src/main/java/me/shedaniel/rei/impl/client/gui/fabric/ScreenOverlayImplImpl.java @@ -57,6 +57,11 @@ public class ScreenOverlayImplImpl { if (entry.isTooltipComponent()) { TooltipComponent component = entry.getAsTooltipComponent(); + if (component instanceof ClientTooltipComponent client) { + lines.add(client); + continue; + } + try { ClientInternals.getClientTooltipComponent(lines, component); } catch (Throwable exception) { |
