aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/DailyQuestHelper.kt6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/DailyQuestHelper.kt b/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/DailyQuestHelper.kt
index abac83c25..b2d4a367f 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/DailyQuestHelper.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/DailyQuestHelper.kt
@@ -271,7 +271,11 @@ class DailyQuestHelper(val reputationHelper: CrimsonIsleReputationHelper) {
result.add(" $stateText$type: §f$displayName$multipleText$sacksText")
} else {
result.add(" $stateText$type: ")
- result.add(NEUItems.getItemStack(item))
+ try {
+ result.add(NEUItems.getItemStack(item))
+ } catch (e: RuntimeException) {
+ e.printStackTrace()
+ }
result.add("§f$displayName$multipleText$sacksText")
}
return result