8.18.0 release

This commit is contained in:
mfnalex 2020-12-17 01:08:06 +01:00
parent 0f85944e06
commit 7f59846097
4 changed files with 9 additions and 5 deletions

View File

@ -1,6 +1,9 @@
# Changelog # Changelog
## 8.17.7-SNAPSHOT ## 8.18.0
- Added support for DeluxeMenus
## 8.17.7
- Fixed InventoryPages hook when using colored item names - Fixed InventoryPages hook when using colored item names
## 8.17.6 ## 8.17.6

View File

@ -9,7 +9,7 @@
<name>ChestSort</name> <name>ChestSort</name>
<url>https://www.chestsort.de</url> <url>https://www.chestsort.de</url>
<description>Automatically sorts your chests!</description> <description>Automatically sorts your chests!</description>
<version>8.17.7</version> <version>8.18.0</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<properties> <properties>

View File

@ -15,8 +15,9 @@ public class GenericGUIHook {
public boolean isPluginGUI(Inventory inv) { public boolean isPluginGUI(Inventory inv) {
if(!enabled) return false; if(!enabled) return false;
if(inv.getHolder()!=null && inv.getHolder().getClass().getName().toLowerCase().contains("gui")) { if(inv.getHolder()!=null && (inv.getHolder().getClass().getName().toLowerCase().contains("gui")
main.debug("Generic GUI detected by class name containing \"gui\""); || inv.getHolder().getClass().getName().toLowerCase().contains("menu"))) {
main.debug("Generic GUI detected by class name containing \"gui\" or \"menu\"");
return true; return true;
} }
return false; return false;

View File

@ -1,6 +1,6 @@
main: de.jeff_media.ChestSort.ChestSortPlugin main: de.jeff_media.ChestSort.ChestSortPlugin
name: ChestSort name: ChestSort
version: 8.17.7 version: 8.18.0
api-version: "1.13" api-version: "1.13"
description: Allows automatic chest sorting description: Allows automatic chest sorting
author: mfnalex author: mfnalex