Fix inventory size reduction

This commit is contained in:
GeorgH93 2020-03-12 19:17:36 +01:00
parent edf2c01785
commit 44cfbecb49
No known key found for this signature in database
GPG Key ID: D1630D37F9E4B3C8
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -7,7 +7,7 @@
<packaging>pom</packaging>
<properties>
<revision>2.3.4-RC3</revision>
<revision>2.3.4-RC4</revision>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>