WolfyScript / CustomCrafting-Wiki

Wiki and JavaDocs for CustomCrafting
https://www.spigotmc.org/resources/55883/
9 stars 3 forks source link

Smithing Table Stack Issue #28

Closed yxoif closed 3 years ago

yxoif commented 3 years ago

Describe the bug Mass crafting items(putting more than 1 item in one of the 2 slots) in the Smithing Table is very glitchy, for example, if I were to put a stack of ingredient(both stacks must have the exact number of items, like 64 and 64) items in each of the 2 slots, when I try to claim the result item, the recipe is only executed once instead of the expected 64 times, and will stop working afterward, requiring the player to re-put the ingredient items again. Any other number of ingredient items in a single slot other than 64 or the intended number in the original recipe will make the recipe not work.

To Reproduce Steps to reproduce the behavior:

  1. Open a Smithing Table.
  2. Put more than the intended number(both slots must have the same number of items) of ingredient items in the 2 ingredient slots of the Smithing Table.
  3. When attempting to claim the result item, the recipe will only be executed once and then stop working afterward, needing the player to re-put the ingredients.

Expected behavior The recipe should be executed as many times as the amount of correct, required ingredient items put in, instead of just once.

Server (please complete the following information):

Additional context If there is only 1 ingredient item in either of the slot and 64 in the other one, the recipe will work normally.