JDKDigital / productive-bees

Useful bees
https://www.curseforge.com/minecraft/mc-mods/productivebees
Other
64 stars 42 forks source link

Item stacks over a count of 64 cause weird issues #398

Closed AngryBacteria closed 1 year ago

AngryBacteria commented 1 year ago

The InventoryHandler method public boolean addOutput(@Nonnull ItemStack stack) can cause issues if the provided ItemStack has a count of more than 64 items. The issue is that NBT data cannot save ItemStacks that are bigger than 64. This could happen for example if someone edits the config for the productivity upgrade to a high number. The solution would be to split the stack in parts smaller than 64. I am working on a fix for this issue in my fork

Here is a link to imgur showing the buggy behavior