8.1 update

This commit is contained in:
mfnalex 2020-05-20 23:15:05 +02:00
parent 6ae2a387bf
commit 37c9370405
2 changed files with 3 additions and 0 deletions

View File

@ -1,4 +1,6 @@
# Changelog
## 8.1
- Sort chest's inventory after using the new Fill-Chest-Hotkey
## 8.0
- Added two new hotkeys (disabled by default): Left-Click outside of a chest's (or barrel, ...) inventory will load all your stuff except hotbar into the chest, Right-Click outside of the chest's inventory will unload the chest into your inventory. The hotkeys can be enabled using /chestsort hotkeys and need the chestsort.use permission

View File

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