mirror of
https://github.com/JEFF-Media-GbR/ChestSort.git
synced 2024-12-04 00:23:23 +01:00
12.1.3
This commit is contained in:
parent
38fe08248a
commit
35f9cc880e
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>Allows automatic chest sorting!</description>
|
<description>Allows automatic chest sorting!</description>
|
||||||
<version>12.1.2</version>
|
<version>12.1.3</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
@ -31,13 +31,13 @@ public class ShulkerPacksHook {
|
|||||||
} catch (Throwable t) {
|
} catch (Throwable t) {
|
||||||
installed = false;
|
installed = false;
|
||||||
ChestSortPlugin.getInstance().getLogger().severe("Error while hooking into ShulkerPacks. Try updating ShulkerPacks to the newest version.");
|
ChestSortPlugin.getInstance().getLogger().severe("Error while hooking into ShulkerPacks. Try updating ShulkerPacks to the newest version.");
|
||||||
t.printStackTrace();
|
//t.printStackTrace();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if(installed) {
|
if(installed && checkIfOpenMethod != null) {
|
||||||
try {
|
try {
|
||||||
return (boolean) checkIfOpenMethod.invoke(null, item);
|
return (boolean) checkIfOpenMethod.invoke(null, item);
|
||||||
} catch (IllegalAccessException | InvocationTargetException ignored) {
|
} catch (IllegalAccessException | InvocationTargetException ignored) {
|
||||||
|
Loading…
Reference in New Issue
Block a user