Skip to content

Fix crash with unknown tooltip components (Meteor Compat)#297

Open
0xTas wants to merge 1 commit into
lambda-client:1.21.11from
0xTas:meteor-tooltips-compat
Open

Fix crash with unknown tooltip components (Meteor Compat)#297
0xTas wants to merge 1 commit into
lambda-client:1.21.11from
0xTas:meteor-tooltips-compat

Conversation

@0xTas
Copy link
Copy Markdown

@0xTas 0xTas commented May 25, 2026

Fix crash with unknown tooltip components (Meteor Compat)

Fixes the crash reported in this thread in the Lambda support Discord.

When Lambda encounters an unknown instance of TooltipData it mimics the vanilla logic of throwing an IllegalArgumentException. This is unnecessary and causes crashes when paired with mods like Meteor that create their own classes which implement the TooltipData interface.

This PR fixes that by ignoring unknown implementers instead of throwing on them, allowing the other mods' mixins to handle their implementers properly and avoiding crashes altogether.

Issue Link

https://discord.com/channels/834570721070022687/1508546671624065164/1508547813511004371

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant