8.2 update

This commit is contained in:
mfnalex 2020-05-21 10:07:50 +02:00
parent 82f845bf59
commit 5d9cd1f23c
4 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,7 @@
# Changelog
## 8.2
- Possibly fixes exception when using hotkeys in Inventories with a null-holder
## 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

View File

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

View File

@ -31,7 +31,7 @@ public class JeffChestSortAdditionalHotkeyListener implements Listener {
&& e.getInventory().getType() != InventoryType.DROPPER
&& e.getInventory().getType() != InventoryType.ENDER_CHEST
&& e.getInventory().getType() != InventoryType.SHULKER_BOX
&& !e.getInventory().getHolder().getClass().toString().endsWith(".CraftBarrel")) {
&& (e.getInventory().getHolder() == null || !e.getInventory().getHolder().getClass().toString().endsWith(".CraftBarrel"))) {
return;
}
Player p = (Player) e.getWhoClicked();

View File

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