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