diff --git a/CHANGELOG.md b/CHANGELOG.md index 606aa1b..b9f6359 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/pom.xml b/pom.xml index 355c38e..490395a 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ ChestSort https://www.chestsort.de Allows automatic chest sorting! - 11.5.4 + 11.5.5 jar diff --git a/src/main/java/de/jeff_media/chestsort/listeners/Listener.java b/src/main/java/de/jeff_media/chestsort/listeners/Listener.java index 132a3e9..4091a28 100644 --- a/src/main/java/de/jeff_media/chestsort/listeners/Listener.java +++ b/src/main/java/de/jeff_media/chestsort/listeners/Listener.java @@ -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; }