mirror of
https://github.com/JEFF-Media-GbR/ChestSort.git
synced 2024-11-13 06:05:36 +01:00
8.18.0 release
This commit is contained in:
parent
0f85944e06
commit
7f59846097
@ -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
|
||||
|
2
pom.xml
2
pom.xml
@ -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>
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user