mirror of
https://github.com/GeorgH93/Minepacks.git
synced 2025-01-05 19:08:45 +01:00
Fix inventory size reduction
This commit is contained in:
parent
edf2c01785
commit
44cfbecb49
@ -252,7 +252,7 @@ public int getSize()
|
||||
ItemStack[] itemStackArray;
|
||||
if(bp.getSize() > newSize)
|
||||
{
|
||||
InventoryCompressor compressor = new InventoryCompressor(bp.getContents());
|
||||
InventoryCompressor compressor = new InventoryCompressor(bp.getContents(), newSize);
|
||||
switch(shrinkApproach)
|
||||
{
|
||||
case FAST: compressor.fast(); break;
|
||||
|
Loading…
Reference in New Issue
Block a user