You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an example, using the TerraFirmaCraft mod, which has a stack-size 16 slot in small vessels, inventory sorter will sort items into these slots ignoring the stack size restriction of the slot (as opposed to the stack).
With a quick look, I believe this is due to not properly checking stack limits here:
It is not sufficient to check ItemStack.getMaxStackSize(), you should be taking the minimum of that and Slot.getMaxStackSize() (or, use the method Slot.getMaxStackSize(ItemStack).)
The text was updated successfully, but these errors were encountered:
As an example, using the TerraFirmaCraft mod, which has a stack-size 16 slot in small vessels, inventory sorter will sort items into these slots ignoring the stack size restriction of the slot (as opposed to the stack).
With a quick look, I believe this is due to not properly checking stack limits here:
inventorysorter/src/main/java/cpw/mods/inventorysorter/SortingHandler.java
Line 153 in 44601da
It is not sufficient to check
ItemStack.getMaxStackSize()
, you should be taking the minimum of that andSlot.getMaxStackSize()
(or, use the methodSlot.getMaxStackSize(ItemStack)
.)The text was updated successfully, but these errors were encountered: