From 1155d109345005328b56fb98ca1c29f0ff3909d1 Mon Sep 17 00:00:00 2001 From: Rsl1122 Date: Thu, 1 Feb 2018 20:45:00 +0200 Subject: [PATCH] Fixed IllegalArgumentException: No task with id 6 (#512) --- .../main/java/com/djrapitops/plan/utilities/queue/Consumer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plan/src/main/java/com/djrapitops/plan/utilities/queue/Consumer.java b/Plan/src/main/java/com/djrapitops/plan/utilities/queue/Consumer.java index 7694d15b8..7cd1cc621 100644 --- a/Plan/src/main/java/com/djrapitops/plan/utilities/queue/Consumer.java +++ b/Plan/src/main/java/com/djrapitops/plan/utilities/queue/Consumer.java @@ -42,7 +42,7 @@ public abstract class Consumer extends AbsRunnable { run = false; try { super.cancel(); - } catch (NullPointerException ignore) { + } catch (NullPointerException | IllegalArgumentException ignore) { /*ignored*/ } }