From 35f9cc880e93bf4ed996586e3fd8674d30e15f5b Mon Sep 17 00:00:00 2001
From: mfnalex <1122571+mfnalex@users.noreply.github.com>
Date: Thu, 9 Dec 2021 21:55:50 +0100
Subject: [PATCH] 12.1.3
---
pom.xml | 2 +-
.../java/de/jeff_media/chestsort/hooks/ShulkerPacksHook.java | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/pom.xml b/pom.xml
index bb66a26..f637656 100644
--- a/pom.xml
+++ b/pom.xml
@@ -9,7 +9,7 @@
ChestSort
https://www.chestsort.de
Allows automatic chest sorting!
- 12.1.2
+ 12.1.3
jar
diff --git a/src/main/java/de/jeff_media/chestsort/hooks/ShulkerPacksHook.java b/src/main/java/de/jeff_media/chestsort/hooks/ShulkerPacksHook.java
index a9db58e..5d0e943 100644
--- a/src/main/java/de/jeff_media/chestsort/hooks/ShulkerPacksHook.java
+++ b/src/main/java/de/jeff_media/chestsort/hooks/ShulkerPacksHook.java
@@ -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) {