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

"Creating Your First Block" page is missing a call to the "Item.Settings().useBlockPrefixedTranslationKey()" #265

Open
AgentKerbal opened this issue Jan 16, 2025 · 1 comment
Labels
correction Something isn't right on a page

Comments

@AgentKerbal
Copy link

If you follow the "Creating Your First Block" page by copy pasting all the available code, you will not be able to advance into the tutorial as the very first code snippet is missing .useBlockPrefixedTranslationKey() which is supposed to be in line 10.

@its-miroma its-miroma added the correction Something isn't right on a page label Jan 16, 2025
@ethanhmaness
Copy link

This call technically isn't necessary, since you can write a second identical translation for the item. However, I agree that it should be included in the tutorial reference code since there's pretty much no reason not to use it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
correction Something isn't right on a page
Projects
None yet
Development

No branches or pull requests

3 participants