mirror of
https://github.com/JEFF-Media-GbR/ChestSort.git
synced 2025-01-07 08:57:44 +01:00
8.2 update
This commit is contained in:
parent
82f845bf59
commit
5d9cd1f23c
@ -1,4 +1,7 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
## 8.2
|
||||||
|
- Possibly fixes exception when using hotkeys in Inventories with a null-holder
|
||||||
|
|
||||||
## 8.1
|
## 8.1
|
||||||
- Sort chest's inventory after using the new Fill-Chest-Hotkey
|
- 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
|
- Prevent the new hotkeys from being used when allow-hotkeys is set to false
|
||||||
|
2
pom.xml
2
pom.xml
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<groupId>de.jeffclan</groupId>
|
<groupId>de.jeffclan</groupId>
|
||||||
<artifactId>JeffChestSort</artifactId>
|
<artifactId>JeffChestSort</artifactId>
|
||||||
<version>8.1</version>
|
<version>8.2</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>JeffChestSort</name>
|
<name>JeffChestSort</name>
|
||||||
|
@ -31,7 +31,7 @@ public class JeffChestSortAdditionalHotkeyListener implements Listener {
|
|||||||
&& e.getInventory().getType() != InventoryType.DROPPER
|
&& e.getInventory().getType() != InventoryType.DROPPER
|
||||||
&& e.getInventory().getType() != InventoryType.ENDER_CHEST
|
&& e.getInventory().getType() != InventoryType.ENDER_CHEST
|
||||||
&& e.getInventory().getType() != InventoryType.SHULKER_BOX
|
&& 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;
|
return;
|
||||||
}
|
}
|
||||||
Player p = (Player) e.getWhoClicked();
|
Player p = (Player) e.getWhoClicked();
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
main: de.jeffclan.JeffChestSort.JeffChestSortPlugin
|
main: de.jeffclan.JeffChestSort.JeffChestSortPlugin
|
||||||
name: ChestSort
|
name: ChestSort
|
||||||
version: 8.1
|
version: 8.2
|
||||||
api-version: 1.13
|
api-version: 1.13
|
||||||
description: Allows automatic chest sorting
|
description: Allows automatic chest sorting
|
||||||
author: mfnalex
|
author: mfnalex
|
||||||
|
Loading…
Reference in New Issue
Block a user