Make sort persist even if nothing else has been changed in the backpack

This commit is contained in:
GeorgH93 2020-02-25 01:51:20 +01:00
parent 23311588e7
commit ac11c305be
No known key found for this signature in database
GPG Key ID: D1630D37F9E4B3C8

View File

@ -57,6 +57,7 @@ public void onResult(Backpack backpack)
return;
}
backpack.getInventory().setContents(compressor.getTargetStacks());
backpack.setChanged();
messageSorted.send(player);
}