diff --git a/CHANGELOG.md b/CHANGELOG.md
index 12fbc3b..4937d44 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,9 @@
# Changelog
-## 8.17.7-SNAPSHOT
+## 8.18.0
+- Added support for DeluxeMenus
+
+## 8.17.7
- Fixed InventoryPages hook when using colored item names
## 8.17.6
diff --git a/pom.xml b/pom.xml
index c63cf8a..aeee55e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -9,7 +9,7 @@
ChestSort
https://www.chestsort.de
Automatically sorts your chests!
- 8.17.7
+ 8.18.0
jar
diff --git a/src/main/java/de/jeff_media/ChestSort/hooks/GenericGUIHook.java b/src/main/java/de/jeff_media/ChestSort/hooks/GenericGUIHook.java
index 32b1840..f01aa01 100644
--- a/src/main/java/de/jeff_media/ChestSort/hooks/GenericGUIHook.java
+++ b/src/main/java/de/jeff_media/ChestSort/hooks/GenericGUIHook.java
@@ -15,8 +15,9 @@ public class GenericGUIHook {
public boolean isPluginGUI(Inventory inv) {
if(!enabled) return false;
- if(inv.getHolder()!=null && inv.getHolder().getClass().getName().toLowerCase().contains("gui")) {
- main.debug("Generic GUI detected by class name containing \"gui\"");
+ if(inv.getHolder()!=null && (inv.getHolder().getClass().getName().toLowerCase().contains("gui")
+ || inv.getHolder().getClass().getName().toLowerCase().contains("menu"))) {
+ main.debug("Generic GUI detected by class name containing \"gui\" or \"menu\"");
return true;
}
return false;
diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml
index e4381ac..267af56 100644
--- a/src/main/resources/plugin.yml
+++ b/src/main/resources/plugin.yml
@@ -1,6 +1,6 @@
main: de.jeff_media.ChestSort.ChestSortPlugin
name: ChestSort
-version: 8.17.7
+version: 8.18.0
api-version: "1.13"
description: Allows automatic chest sorting
author: mfnalex