mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 22:56:45 +01:00
Fix IndexOutOfBoundsException for fake brew event by adding to list instead of setting the index (which doesn't work) (#4655)
This commit is contained in:
parent
7aaec5b707
commit
2347fc294f
@ -129,7 +129,7 @@ public final class AlchemyPotionBrewer {
|
|||||||
inputList.add(input);
|
inputList.add(input);
|
||||||
|
|
||||||
if (output != null) {
|
if (output != null) {
|
||||||
outputList.set(i, output.toItemStack(item.getAmount()).clone());
|
outputList.add(output.toItemStack(item.getAmount()).clone());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user