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

Crafting sunflower returns unknown item #7

Closed
Bastrabun opened this issue Sep 24, 2020 · 1 comment
Closed

Crafting sunflower returns unknown item #7

Bastrabun opened this issue Sep 24, 2020 · 1 comment

Comments

@Bastrabun
Copy link

Looks like the recipe cannot properly decide on the replacement. I correctly get the seeds, but also get an unknown item called group:dye,color_yellow

minetest.register_craft({
	type = "shapeless",
	output = "cucina_vegana:sunflower_seeds 4",
	recipe = {"flowers:sunflower"},
	replacements = {
		{"flowers:sunflower", "group:dye,color_yellow"}
	}
})

Maybe replace in recipes.lua line 571

{"flowers:sunflower", "group:dye,color_yellow"}

with

{"flowers:sunflower", "dye:yellow"}

@acmgit
Copy link
Owner

acmgit commented Oct 28, 2020

Thanks for the hint, it seems the api in MT has changed, i has fixed the code.

@acmgit acmgit closed this as completed Oct 28, 2020
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

No branches or pull requests

2 participants