mirror of
https://github.com/JEFF-Media-GbR/ChestSort.git
synced 2024-12-02 15:43:22 +01:00
11.5.5
This commit is contained in:
parent
695869f404
commit
ab52b289c9
@ -1,5 +1,8 @@
|
||||
# Changelog
|
||||
|
||||
## 1.5.5
|
||||
- Fixed furnaces being sortable using the left-click hotkey
|
||||
|
||||
## 11.5.4
|
||||
- Fixed CratesReloaded preview GUI not opening when leftclicking chests
|
||||
|
||||
|
2
pom.xml
2
pom.xml
@ -9,7 +9,7 @@
|
||||
<name>ChestSort</name>
|
||||
<url>https://www.chestsort.de</url>
|
||||
<description>Allows automatic chest sorting!</description>
|
||||
<version>11.5.4</version>
|
||||
<version>11.5.5</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<properties>
|
||||
|
@ -65,6 +65,7 @@ public class Listener implements org.bukkit.event.Listener {
|
||||
if(!plugin.getConfig().getBoolean("allow-left-click-to-sort")) return;
|
||||
Block clickedBlock = event.getClickedBlock();
|
||||
if(!(clickedBlock.getState() instanceof Container)) return;
|
||||
if(!belongsToChestLikeBlock(((Container)clickedBlock.getState()).getInventory())) return;
|
||||
if(CrateReloadedHook.isCrate(clickedBlock)) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user