leagris/MinecartMania — comment on commit 436f76f294898cd19c49072fc2133dba211a12bd
File: src/com/afforess/minecartmaniacore/inventory/MinecartManiaChest.java line 308
By leagris:

durability need to be passed to removeItem so that decreased stack is recreated with the correct durability value.
The original code caused the new stack having -1 as durability.