8.1 update

This commit is contained in:
mfnalex 2020-05-21 00:49:55 +02:00
parent d33f8e67e8
commit e4f978cc82
4 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,7 @@
# Changelog
## 8.1
- Sort chest's inventory after using the new Fill-Chest-Hotkey
- Prevent the new hotkeys from being used when allow-hotkeys is set to false
## 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

@ -6,7 +6,7 @@
<groupId>de.jeffclan</groupId>
<artifactId>JeffChestSort</artifactId>
<version>8.0</version>
<version>8.1</version>
<packaging>jar</packaging>
<name>JeffChestSort</name>

View File

@ -16,6 +16,9 @@ public class JeffChestSortAdditionalHotkeyListener implements Listener {
@EventHandler
public void onInventoryClickEvent(InventoryClickEvent e) {
if(!plugin.getConfig().getBoolean("allow-hotkeys")) {
return;
}
if(!(e.getWhoClicked() instanceof Player)) {
return;
}

View File

@ -1,6 +1,6 @@
main: de.jeffclan.JeffChestSort.JeffChestSortPlugin
name: ChestSort
version: 8.0
version: 8.1
api-version: 1.13
description: Allows automatic chest sorting
author: mfnalex