Closed jcrAron closed 1 month ago
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.
version
1.20.x
what happened?
When the itemstack count is large, such as 2,147,483,648, margining to another itemstack will cause integer overflow.
I think...
change https://github.com/P3pp3rF1y/SophisticatedCore/blob/ceff5106cb4be4df45c3bde4f565d8c7180e81c6/src/main/java/net/p3pp3rf1y/sophisticatedcore/common/gui/StorageContainerMenuBase.java#L1237 to