![Extended Drawers](https://media.forgecdn.net/avatars/thumbnails/538/621/256/256/637863952831371196.png)
[Bug]: Compacting drawer taking in more than it should've been able to
kevintok opened this issue ยท 0 comments
Description of the issue
Max should've been 4096 but it's 4099. I was able to reproduce this consistently by using a hopper.
I believe this is actually what's causing the crash in #66 as item went above the limit and when MI tried to insert it returns negative value.
Reproduction steps
- Have 4095 clays on the drawer. (1023 clay blocks)
- Hopper in a clay block.
- Reality: Clay block inserted, allowing clay to go above max
- Expected: Clay block not inserted as it has reached maximum
Mod version
v1.4.1
Operating System
Windows 10
Minecraft version
1.19.2
Other mods
No additional mods
Server
Happens
Client
Happens
Logs
no crash in this case, no log
Extra Context
No response