BloodMagic icon indicating copy to clipboard operation
BloodMagic copied to clipboard

fix `BloodMagicCraftedEvent.Alchemy` empty inputs

Open dphaldes opened this issue 2 years ago • 0 comments

currently the event fires with empty inputs array due to how ArrayUtils work. Using lists is also easier to understand.

ArrayUtils.add(inputs, stack.copy()) doesnt add to existing array rather returns a new one. The old implementation doesnt work because the for loop does nothing

dphaldes avatar Nov 04 '23 17:11 dphaldes