Skip to content

Commit

Permalink
fix(EMCLink): Always Reporting 1 (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
DonovanDMC committed Jul 23, 2022
1 parent a78075e commit faa5424
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -186,7 +186,7 @@ public ItemStack getStackInSlot(int slot) {
int count = maxCount.intValueExact();
if (count <= 0) return ItemStack.EMPTY;

return ItemHandlerHelper.copyStackWithSize(itemStack, 1);
return ItemHandlerHelper.copyStackWithSize(itemStack, count);
}

@Nonnull
Expand Down

0 comments on commit faa5424

Please sign in to comment.