This commit is contained in:
mfnalex 2021-12-09 21:55:50 +01:00
parent 38fe08248a
commit 35f9cc880e
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@
<name>ChestSort</name>
<url>https://www.chestsort.de</url>
<description>Allows automatic chest sorting!</description>
<version>12.1.2</version>
<version>12.1.3</version>
<packaging>jar</packaging>
<properties>

View File

@ -31,13 +31,13 @@ public class ShulkerPacksHook {
} catch (Throwable t) {
installed = false;
ChestSortPlugin.getInstance().getLogger().severe("Error while hooking into ShulkerPacks. Try updating ShulkerPacks to the newest version.");
t.printStackTrace();
//t.printStackTrace();
return false;
}
}
if(installed) {
if(installed && checkIfOpenMethod != null) {
try {
return (boolean) checkIfOpenMethod.invoke(null, item);
} catch (IllegalAccessException | InvocationTargetException ignored) {