fixed missing updateInventoryView

This commit is contained in:
mfnalex 2020-05-20 23:23:02 +02:00
parent 37c9370405
commit d33f8e67e8

View File

@ -41,6 +41,7 @@ public class JeffChestSortAdditionalHotkeyListener implements Listener {
if(e.isLeftClick() && setting.leftClick) {
de.jeffclan.utils.InventoryHelper.stuffPlayerInventoryIntoAnother(p.getInventory(), e.getInventory());
plugin.sortInventory(e.getInventory());
de.jeffclan.utils.InventoryHelper.updateInventoryView(e.getInventory());
} else if(e.isRightClick() && setting.rightClick) {
de.jeffclan.utils.InventoryHelper.stuffInventoryIntoAnother(e.getInventory(), p.getInventory(),e.getInventory());
}