tarinoita / Spice-of-Life-Sweet-Potato

Motivating people to explore new foods with the potato, not the stick.
GNU Lesser General Public License v2.1
2 stars 6 forks source link

Fix recipe unlock condition #21

Open ForgottenUmbrella opened 1 year ago

ForgottenUmbrella commented 1 year ago

In Minecraft 1.19.2 (and likely every other version), picking up any item immediately unlocks the recipe for the food book. This is unintentional, since the advancements specify only certain items should unlock it. This PR fixes that.

According to the Minecraft wiki, the objects in the conditions.items array should contain a key named "items", not "item", whose value is an array of strings, not a single string.