Skip to content

Conversation

@ytterx
Copy link
Contributor

@ytterx ytterx commented Mar 17, 2023

The vanillatweaks example didn´t work, I got the following error:

mc_1 | [mc-image-helper] 12:41:54.892 ERROR : 'vanillatweaks' command failed. Version is 1.25.12
mc_1 | java.lang.NullPointerException: Cannot invoke "me.itzg.helpers.vanillatweaks.model.Type.toString()" because the return value of "me.itzg.helpers.vanillatweaks.model.PackDefinition.getType()" is null

When I checked the tests under tests/setuponlytests/vanillatweaks_file I noticed there were two missing entries in the JSON file.
I corrected this and added the examples for resourcepacks and craftingtweaks as well.

See also itzg/mc-image-helper#163

Copy link
Owner

@itzg itzg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for updating that!

VERSION: ${MINECRAFT_VERSION:-LATEST}
VANILLATWEAKS_SHARECODE: MGr52E
REMOVE_OLD_VANILLATWEAKS: "TRUE"
vanillatweaks_file_datapacks_and_resourcepacks_and_craftingtweaks:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if I had noticed before this example file was one big list of services 😀

@itzg itzg merged commit f2b3f6e into itzg:master Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants