Inventory Sorter

Inventory Sorter

54M Downloads

Incompatibility with Botania flower bag

williewillus opened this issue ยท 2 comments

commented

In Botania we have a flower pouch which restricts each slot to a certain kind of flower. Here is the code:

https://github.com/VazkiiMods/Botania/blob/df10b660a94eae3f7ecd2d50ca2630c96dcdb78c/Xplat/src/main/java/vazkii/botania/client/gui/bag/ContainerFlowerBag.java#L49-L59

In 1.18, sorting the flower pouch should do nothing as each item can only live in one possible slot, but it instead deletes every stack from the pouch. I don't see what else I could be doing on my side to signal that an item can't go in a slot, so it seems like an Inventory Sorter bug. See VazkiiMods/Botania#4068

commented

Hmmm. I'll take a look in 1.19..

commented

This is still an issue in 1.19.2 as I experienced this when accidentally middle click sorting the flower pouch and all the contents vanishing.

This happened with Botania 1.19.2-438-Forge and Inventory Sorter v21.0.4 mod for reference.