mirror of
https://github.com/JEFF-Media-GbR/ChestSort.git
synced 2024-12-02 15:43:22 +01:00
8.18.1 release
This commit is contained in:
parent
e6db59324b
commit
4db574c054
@ -1,5 +1,11 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 8.18.1
|
||||||
|
- Improved API
|
||||||
|
|
||||||
|
## 8.18.0
|
||||||
|
- Added DeluxeMenus support
|
||||||
|
|
||||||
## 8.17.7-SNAPSHOT
|
## 8.17.7-SNAPSHOT
|
||||||
- Fixed InventoryPages hook when using colored item names
|
- Fixed InventoryPages hook when using colored item names
|
||||||
|
|
||||||
|
2
pom.xml
2
pom.xml
@ -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.1</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
@ -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;
|
||||||
|
@ -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.1
|
||||||
api-version: "1.13"
|
api-version: "1.13"
|
||||||
description: Allows automatic chest sorting
|
description: Allows automatic chest sorting
|
||||||
author: mfnalex
|
author: mfnalex
|
||||||
|
Loading…
Reference in New Issue
Block a user