mirror of
https://github.com/JEFF-Media-GbR/ChestSort.git
synced 2024-09-27 14:42:34 +02:00
8.1 update
This commit is contained in:
parent
6ae2a387bf
commit
37c9370405
@ -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
|
||||
|
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user