WolfyScript / CustomCrafting

Spigot based plugin to create your own custom Recipes & Items. Designed to be easy to use with in-game GUI and tons of configuration possibilities.
https://modrinth.com/plugin/customcrafting
GNU General Public License v3.0
113 stars 36 forks source link

RecipeGui no recipe shown for items with greater amount than one #386

Open MaksyKun opened 3 months ago

MaksyKun commented 3 months ago

What happened?

Context

Usually, when using nested recipes in /recipes you are able to click on the ingredients (that are also from CC) to show their recipe. This works totally fine when your result of that item is 1^

Problem

When having recipes that give your >=2 amount of an item, they are not opened from the GUI. There are also no errors in console. My example: image

I click on the string and nothing will happen. It is the only ingredient that gives back 2 items: image

This was also reproduced in another recipe of us.

How can the bug be reproduced?

  1. Create a recipe with an result amount higher 1. For example 3
  2. Create a recipe that uses the item from step 1
  3. Integrate those in your recipe book / /recipes
  4. Open the recipe from step 2
  5. Click on the item that is used from step 1. It will not open

Expected Behaviour?

The GUI should open the GUI for the recipe that is used within the other recipe.

Plugin version

CustomCrafting 4.16.11, WolfyUtilities 4.17-beta.6

Server software

Current Purpur Version: 1.20.6-2233-0d6766e (MC: 1.20.6) You are running the latest version Previous: git-Purpur-2176 (MC: 1.20.4)

Relevant log output

No response

Submit issue