Quick move causes items to disappear
Closed this issue · 1 comments
jcrAron commented
version
1.20.x
what happened?
- install the mod https://www.curseforge.com/minecraft/mc-mods/one-stack to change max count of itemstacks
- Open barrel (or chest) GUI
- Place an item with a count of 2,147,483,648 into the chest
- Quick move another item to the chest
- the items disappears both
When the itemstack count is large, such as 2,147,483,648, margining to another itemstack will cause integer overflow.
I think...
change
to
if (j <= maxSize && j > 0)
P3pp3rF1y commented
I am sure there would be a ton of other issues with that mod as it must be overriding other stuff in multiple places so you can just consider that incompatibility and you need to decide whether you want to play with backpacks/storage or that mod. Sophisticated also has stack upgrades to raise stack counts.