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
## 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

View File

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

View File

@ -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;

View File

@ -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