Closed misode closed 6 years ago
GM4_Datapacks/gm4_custom_crafters/data/custom_crafters/functions/recipe_validity_check.mcfunction
was supposed to address this issue.
The problem is in custom_crafters:recipe_validity_check
on line 34. It is only setting the gm4_stack_size
score of @s
when first_stack_count
is greater than 0. This causes extension modules to be called. They then use the old value of gm4_stack_size
of @s
which is set to the count of the last slot.
execute if score first_stack_count gm4_stack_size matches 1.. run scoreboard players operation @s gm4_stack_size = first_stack_count gm4_stack_size
The bug
I expected the recipe not to work when different amounts of items are in the dropper. Instead I noticed the recipe worked and it just took the count of the last slot (bottom right) while ignoring the other slots.
How to reproduce
Installed modules