Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix nested LangBuilder in LangBuilder.forGoggles not inheriting parent namespace #7098

Open
wants to merge 1 commit into
base: mc1.20.1/dev
Choose a base branch
from

Conversation

Zangdorx
Copy link

In LangBuilder.forGoggles, a nested LangBuilder is constructed to format the goggles tooltip, but it does not use the namespace of the currently used LangBuilder, making this code harder to reuse in addons. The fix seems simple enough, and seems backward compatible with current usages of the default namespacefor both the parent and nested LangBuilders.

@IThundxr IThundxr added pr flag: simple PR has minimal changes area: api Issue or PR is related to API labels Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: api Issue or PR is related to API pr flag: simple PR has minimal changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants